In Magento sometimes you may want to show same product as different line items in cart, checkout and admin. You may want to do this when you are adding same product but with different options in cart. If you want to do this, here is the simple way do do it.
Category: php
Magento® 1.9.2 Cannot Create Account on Frontend
Sometimes you install a Magento theme and discover that you are not able to create new customer accounts on frontend. New account register form just reloads the registration page. It is possible that you face a problem while customer login.
This problem can occur when you upgrade from Magento 1.9.1.1 to 1.9.2.x. But here is the simple fix for this problem It occurs because the account registration/login template of your theme does not have a valid form_key
field. Each form in Magento should have a hidden form_key
field to prevent malicious requests.
Magento® Add Order Total in Invoice PDF
Sometimes you need to add custom order totals to your Magento store. For exmple you may have added new attribute ‘total_surcharge’ as custom order total attribute. This new order total will be visible in admin sales order view and invoice view generally. But when you generate the PDF from invoice, the new order total is not visible there.
Add Custom Grid in Magento® Admin Form Tab
Angular 2 and Magento®: The Civil War
Magento® – Add Custom Block in Admin Sales Order Page
Sometimes you need to add custom block in the Order view page of Magento admin. You can use this block to show some custom information that you saved with the order. You can also show custom form to edit order information. In this article I will show you how to add Custom Block in Admin Sales Order Page in Magento.
Enable Amazon Cloudfront CDN in Magento
What’s Dependency Injection in Magento 2® All About
Magento2 will be introducing some amazing new features and functionalities, empowering developers to streamline customization tasks, improve load time and more. Most significantly, it will replace Magento 1.x Mage class with dependency injection design pattern.
This post is intended to provide resourceful insight on Magento’s 2 dependency injection concept.