New answers tagged


you need to override form.phtml file in your theme under : app/design/frontend/Vendor/Theme/Magento_Checkout/templates/cart/form.phtml and comment the Price and Subtotal's th tag : <thead> <tr> <th class="col item" scope="col"><span><?= /* @escapeNotVerified */ __('Item') ?></span></th> <?...


update this file vendor/magento/module-review/Block/form.php protected function getProductId() { return $this->getRequest()->getParam('id', false); } to this code protected function getProductId() { return $this->getRequest()->getParam('product_id', false); }


Might be it will be working with default but i am using lotusbreath one page checkout $this->getOnepage()->getQuote()->save(); /** * when there is redirect to third party, we don't want to save order yet. * we will save the order in return action. */ if (isset($redirectUrl)) { $result['...


So now, assuming I want to ANONYMOUS, GUEST users to be able to return to the site and maintain their previous cart state, what is the best way to do that? I'm not having great success with this, but for Magento 2 this module exists: Based off Magento 1 version:


Hello everyone I need to add functionality of "Persistent Shopping Cart" for guest user for 24 hrs. Can someone give me a direction how can I do that in magento 1. Go to system->configuration->web (under general tab) -> session cookie management. This setting works only when guest is logged user otherwise not. Thanks everyone in advance!


Check the priority value of the rules - the lower the value the higher the priority. Make sure all rules which will be overridden are set to a higher value than your top priority rule. Then, on the top priority rule, under 'Actions' set 'Discard subsequent rules' to 'Yes', which will stop the lower priority rules from being applied after it.


Just in case anyone is looking for answer to this question: There is event observer which looks for previous url and login actions. Here is the code: use Magento\Framework\Event\ObserverInterface; use Magento\Framework\Event\Observer as EventObserver; class CustomerAuthenticated implements ObserverInterface { /** * Core store config * * @var \Magento\...


The best and easiest solution that I found and that will not affect the default MAGENTO 2 structure (just changed under my theme) is by Prashant Valanda on "How to modify page title?" article. Basically you just need to add this code in your XML file. In this case checkout_cart_index.xml: <referenceBlock name="page.main.title"> <action method="...

Top 50 recent answers are included