danslo / cleancheckout Goto Github PK
View Code? Open in Web Editor NEWA drop-in replacement for the Magento 2 checkout.
License: MIT License
A drop-in replacement for the Magento 2 checkout.
License: MIT License
Hello, when i try to install via composer i get:
Problem 1
- Installation request for rubic/magento2-module-clean-checkout ^1.6 -> satisfiable by rubic/magento2-module-clean-checkout[1.6.0].
- rubic/magento2-module-clean-checkout 1.6.0 requires hybridauth/hybridauth ^3.0 -> no matching package found.
How can i fix this error? I am using Magneto 2.2.2
Hello,
I try the module, very nice.
In the shipping step the region code is display:none. Why?
Thank's
cesare
After install the plugin and configure (force luma).... I can't put products in the shopping cart.
Magento message: We can't add this item to your shopping cart right now.
Here I am again,
Your module works perfectly on my local setup, but when I deploy you module to the server I get an error in the system.xml from the following code:
<field id="default_shipping_method" translate="label" type="select" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
<label>Default Shipping Method</label>
<source_model>Magento\Shipping\Model\Config\Source\Allmethods</source_model>
<depends>
<field id="force_totals_full_mode">1</field>
</depends>
<comment><![CDATA[When totals full mode is enabled, this shipping method will be used to make the initial shipping amount estimate.]]></comment>
</field>
the exception that occurs:
1 exception(s):
Exception #0 (Exception): Notice: Array to string conversion in /vendor/magento/module-shipping/Model/Config/Source/Allmethods.php on line 61
Exception #0 (Exception): Notice: Array to string conversion in /vendor/magento/module-shipping/Model/Config/Source/Allmethods.php on line 61
#0 /vendor/magento/module-shipping/Model/Config/Source/Allmethods.php(61): Magento\Framework\App\ErrorHandler->handler(8, 'Array to string...', '/...', 61, Array)
#1 /vendor/magento/module-config/Model/Config/Structure/Element/Field.php(453): Magento\Shipping\Model\Config\Source\Allmethods->toOptionArray(false)
#2 /vendor/magento/module-config/Model/Config/Structure/Element/Field.php(371): Magento\Config\Model\Config\Structure\Element\Field->_getOptionsFromSourceModel(Object(Magento\Shipping\Model\Config\Source\Allmethods))
And line 61 of Allmethods.php: 'label' => '[' . $carrierCode . '] ' . $methodTitle,
$methods[$carrierCode] = ['label' => $carrierTitle, 'value' => []];
foreach ($carrierMethods as $methodCode => $methodTitle) {
$methods[$carrierCode]['value'][] = [
'value' => $carrierCode . '_' . $methodCode,
'label' => '[' . $carrierCode . '] ' . $methodTitle,
];
}
}
Do you have any idea what's going on? I'm using Magento 2.1.10 on an case sensitive NGINX server, on a non case sensitive MacBook the code works..
Thanks / bedankt, Stevie
Seems a bit odd to have a 'Welcome' step, should be renamed to explain the current category more clearly. Not sure yet what the actual word should be?
How to install module in FTP?.... using as webroot folder. Is possible?
Hi there.
Just installed and configured the module on my magento 2.1.9 shop. When I visit the checkout, I get an js error in autocomplete.js line 28. The console output of window.checkoutConfig looks like following:
{payment: {…}, checkoutAgreements: {…}, formKey: "7U7aYGUoFtoWHoVs", customerData: {…}, quoteData: {…}, …}
activeCarriers: ["flatrate"]
autocomplete: "off"
basePriceFormat: {pattern: "%s €", precision: 2, requiredPrecision: 2, decimalSymbol: ",", groupSymbol: ".", …}
captcha:{user_login: {…}, guest_checkout: {…}}
and so on. So the first issue is that autoComplete (uppercase C) does not fit the autocomplete (lowercase C) in my checkoutConfig. The second that autocomplete still return a "off" and not on object.
Do I miss some backend config? Anyone else facing this problem?
Using version 1.5 of the module.
best regards
Mike
Hello,
magento 2.2.2
while trying to run the
composer require rubic/magento2-module-clean-checkout
I get the following error (php 7.1)
Using version ^1.6 for rubic/magento2-module-clean-checkout
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
Fatal error: Out of memory (allocated 847257600) (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52
Thanks in advance for your support
I have configured the checkout to split Address on two fields. And it is all ok.
I have enabled Google Autocomplete.
The user after have typed address can use tab key to jump to next fields without clicking the result. This cause that address don't compiled with street number or address is wrong.
How can forse user to click?
Also, can you add the possibilities to add "required" at address second field?
Thanx
I could not add the product to cart on the homepage of the site, category page, and the product page.
Magento message error: We can't add this item to your shopping cart right now
Disabled the module and it worked again, I tried to clear all caches and remove the files manually, without success.
Hello, i'm having an issue, when user register for first time and go to cleancheckout and fill the fields, my module call api to estimate price of shipping. But when a user is already logged in and has a registered address, its doesn't estimate anymore.
You can check it at live production site: www.hortibras.com, i tought it was fault of estimate-shipping-methods , but its called when user is already logged.
I got zipcode by $request->getDestPostcode();
Its seen this action inst been called: $result = $this->_rateResultFactory->create();
In next release you would to add custom css capability.
It' a great Module.
It does not update the Order Summary with the shipping values coming from the WebShopApps MatrixRates extension, https://github.com/webshopapps/module-matrixrate
Sorry for adding to the pain of maintaining this great job.
Hi,
I can't install the module via composer, i get this message, see screenshot -> http://prntscr.com/ikca2c
Any idea what's wrong?
Steps to reproduce
[ReflectionException]
Class Hybridauth\HybridauthFactory does not exist
[ReflectionException]
Class Hybridauth\HybridauthFactory does not exist
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
Good evening,
At first, let me thank you for your work.
I have tried to download your extension by composer but the installation failed due to a missing version of the component hybridauth/hybridauth.
Efectly, in your module's composer.json, you referenced the version 3.0 or as I far as I know only 3.0.0-beta1 , or 3.0-dev are available.
Could you take a look and get back to me.
Thank you,
Ilan PARMENTIER
The checkout page only loads if I stay on it, when I go to the other tabs of my browser and the page stops load until i click on that, after click page loads normally
I need to add Facebook Pixel to the steps of this extention using
https://www.apptrian.com/facebook-pixel-for-magento
How I add this pixel (or other) on steps of CleanCheckout? Particularry Success Page.
I don't know what laypout use it (if Magento standard, Onepage Standard or other)
Hello, Daniel.
I want put my own module as a default shipping method, but it does not appear in the list to select.
My module is working on checkout page (its a bit bugged because my fault).
Not sure why this happens, need to investigate.
When running setup:di:compile I get the following errors
DEBUG [018c4c55] Rubic\CleanCheckout\Block\BackToStore
DEBUG [018c4c55] Incorrect dependency in class Rubic\CleanCheckout\Block\BackToStore in /home/forge/src/releases/20171128154720/vendor/rubic/magento2-module-clean-checkout/Block/BackToStore.php
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
DEBUG [018c4c55] Rubic\CleanCheckout\Block\Footer
DEBUG [018c4c55] Incorrect dependency in class >Rubic\CleanCheckout\Block\Footer in /home/forge/src/releases/20171128154720/vendor/rubic/magento2-module-clean-checkout/Block/Footer.php
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
DEBUG [018c4c55] Total Errors Count: 2
Problem 1
- Installation request for rubic/magento2-module-clean-checkout ^1.4 -> satisfiable by rubic/magento2-module-clean-checkout[1.4.0].
- rubic/magento2-module-clean-checkout 1.4.0 requires hybridauth/hybridauth ^3.0 -> satisfiable by hybridauth/hybridauth[3.0.x-dev, v3.0.0-beta.1, v3.0.0-beta.2, v3.0.0-beta.3, v3.0.0-beta.4, v3.0.0-rc.1] but these conflict with your requirements or minimum-stability.
Trying install via composer...
It would be nice to have the option to disable the "Apply Discount Code" feature. :)
Magento 2.2.2 problems with installing trough composer. What to do?
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for rubic/magento2-module-clean-checkout ^1.6 -> satisfiable by rubic/magento2-module-clean-checkout[1.6.0].
- rubic/magento2-module-clean-checkout 1.6.0 requires hybridauth/hybridauth ^3.0 -> satisfiable by hybridauth/hybridauth[3.0.x-dev, v3.0.0-beta.1, v3.0.0-beta.2, v3.0.0-beta.3, v3.0.0-beta.4, v3.0.0-rc.1, v3.0.0-rc.2, v3.0.0-rc.3] but these conflict with your requirements or minimum-stability.
There currently are only three icons used (for the header?) right? It will save a lot of bandwidth to just remove it. (our designers wont be using font-awesome icons any more, we usually create our own iconfont).
Seem that VAT validation set in backend isn't managed on frontend.
The address form doesn't show when we refresh the page at the second step in the checkout. This is seen since 1.4.0, from that point on this issue occurs.
{"0":"No such entity with addressId = 15","1":"#0 \/home\/admin\/public_html\/vendor\/magento\/module-customer\/Model\/AddressRegistry.php(49): Magento\\Framework\\Exception\\NoSuchEntityException::singleField('addressId', '15')\n#1 \/home\/admin\/public_html\/vendor\/magento\/module-customer\/Model\/ResourceModel\/AddressRepository.php(166): Magento\\Customer\\Model\\AddressRegistry->retrieve('15')\n#2 \/home\/admin\/public_html\/vendor\/magento\/module-persistent\/Observer\/EmulateCustomerObserver.php(90): Magento\\Customer\\Model\\ResourceModel\\AddressRepository->getById('15')\n#3 \/home\/admin\/public_html\/vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php(72): Magento\\Persistent\\Observer\\EmulateCustomerObserver->execute(Object(Magento\\Framework\\Event\\Observer))\n#4 \/home\/admin\/public_html\/vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php(60): Magento\\Framework\\Event\\Invoker\\InvokerDefault->_callObserverMethod(Object(Magento\\Persistent\\Observer\\EmulateCustomerObserver), Object(Magento\\Framework\\Event\\Observer))\n#5 \/home\/admin\/public_html\/vendor\/magento\/framework\/Event\/Manager.php(66): Magento\\Framework\\Event\\Invoker\\InvokerDefault->dispatch(Array, Object(Magento\\Framework\\Event\\Observer))\n#6 \/home\/admin\/public_html\/generated\/code\/Magento\/Framework\/Event\/Manager\/Proxy.php(95): Magento\\Framework\\Event\\Manager->dispatch('controller_acti...', Array)\n#7 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/Action\/Action.php(96): Magento\\Framework\\Event\\Manager\\Proxy->dispatch('controller_acti...', Array)\n#8 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(58): Magento\\Framework\\App\\Action\\Action->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#9 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->___callParent('dispatch', Array)\n#10 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#11 \/home\/admin\/public_html\/generated\/code\/Magento\/Cms\/Controller\/Index\/Index\/Interceptor.php(39): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->___callPlugins('dispatch', Array, Array)\n#12 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/FrontController.php(55): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#13 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(58): Magento\\Framework\\App\\FrontController->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#14 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138): Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', Array)\n#15 \/home\/admin\/public_html\/vendor\/magento\/module-store\/App\/FrontController\/Plugin\/RequestPreprocessor.php(94): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#16 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(135): Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch(Object(Magento\\Framework\\App\\FrontController\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\n#17 \/home\/admin\/public_html\/vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php(69): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#18 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(135): Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch(Object(Magento\\Framework\\App\\FrontController\\Interceptor), Object(Closure), Object(Magento\\Framework\\App\\Request\\Http))\n#19 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#20 \/home\/admin\/public_html\/generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php(26): Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', Array, NULL)\n#21 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/Http.php(135): Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#22 \/home\/admin\/public_html\/generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php(24): Magento\\Framework\\App\\Http->launch()\n#23 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/Bootstrap.php(256): Magento\\Framework\\App\\Http\\Interceptor->launch()\n#24 \/home\/admin\/public_html\/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\n#25 {main}","url":"\/","script_name":"\/index.php"}
If im logged using other account just id changes, but still get this exception.
Is it possible to let US customers select their state during checkout?
Hi,
When Disable Footer is set to no, footer is still not showing. Cache flushed etc. We use Ultimo theme, Magento 2.2.3
Although it is key to keep everything as simple as posisble, it might be worth adding a visual indicator what steps you need to go through on mobile. You don't have the space to actually put the labels, but only a visual three step progress bar might be interesting (three dots or something)
We only get first/last name and e-mail at the moment. Ideally we should also get address information if it's available.
Hello, i want know how i can include an JS file on checkout page at Shipping step.
The javascript:
https://igorescobar.github.io/jQuery-Mask-Plugin/
Thanks
I'm getting this warning; Class Hybridauth\HybridauthFactory does not exist
after the upgrade to 1.3.2.
Downgrading to 1.3.0 fixes the issue for now.
HybridAuth downgraded due to the upgrade to 1.3.1/1.3.2;
hybridauth/hybridauth (v3.0.0-beta.1 => v2.10.0): Downloading (100%)
$ php bin/magento setup:di:compile
Compilation was started.
Area configuration aggregation... 5/7 [====================>-------] 71% 35 secs 322.0 MiB
[ReflectionException]
Class Hybridauth\HybridauthFactory does not exist
[ReflectionException]
Class Hybridauth\HybridauthFactory does not exist
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
[RuntimeException]
Source class "\Hybridauth\Hybridauth" for "Hybridauth\HybridauthFactory" generation does not exist.
Currently used some inline html to activate colorpickers.
We should do this in the 'normal' way via some requirejs loaded javascript.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- rubic/magento2-module-clean-checkout 1.5.1 requires hybridauth/hybridauth ^3.0 -> satisfiable by hybridauth/hybridauth[3.0.x-dev, v3.0.0-beta.1, v3.0.0-beta.2, v3.0.0-beta.3, v3.0.0-beta.4, v3.0.0-rc.1] but these conflict with your requirements or minimum-stability.
- rubic/magento2-module-clean-checkout 1.5.0 requires hybridauth/hybridauth ^3.0 -> satisfiable by hybridauth/hybridauth[3.0.x-dev, v3.0.0-beta.1, v3.0.0-beta.2, v3.0.0-beta.3, v3.0.0-beta.4, v3.0.0-rc.1] but these conflict with your requirements or minimum-stability.
- Installation request for rubic/magento2-module-clean-checkout ^1.5 -> satisfiable by rubic/magento2-module-clean-checkout[1.5.0, 1.5.1].
im on valet+ with PHP 7.1.14 tried vesrions 1.4.7 1.5.0 and 1.5.1 any idea ?
This is because Magento doesn't calculate shipping costs before saving shipping address. Ideally, two things should happen:
The reason is because stuff is appended to the checkout URL. May want to investigate this at some point.
I suggest to add option to add default payment method and then select it on checkout
Hello, there a way to force user register on shipping process inside your module checkout. If i force through magento, its redirect to register before see checkout page. But your module is much more intuitive and i want my clients register in there.
@danslo , is there a known issue with the Social Login feature? I've configured all Facebook, Twitter and Google and got keys and secrets but none of them is working as expected through back different issues. Should I use this issue to detail everything is this already a known issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.