Timeline for Setting Terms & Conditions in checkout
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 30, 2015 at 11:30 | comment | added | Digisha | using below code you can check customer type from session- if (Mage::getSingleton('customer/session')->isLoggedIn()) { $customer = Mage::getSingleton('customer/session')->getCustomer(); echo $customer->getGroupId();//Customer type id from Customer configuration } | |
Mar 27, 2015 at 0:13 | comment | added | LCgraphic | how would I go about writing the code to identify the customer type? | |
Mar 4, 2015 at 6:29 | comment | added | Digisha | template for it is \app\design\frontend\base\default\template\checkout\onepage\agreements.phtml where you can identify you customer type assuming that customer is login.According to which you can display particular terms for particular customer type. | |
Mar 3, 2015 at 23:15 | comment | added | LCgraphic | I have enabled the Terms and Conditions and they are displayed during checkout, but I want to isolate 1 of the 3 so it will only show and have to be accepted if a Wholesale customer makes a purchase, to the general public and Retail customers I only want 2 of the 3 T & C's to display | |
Mar 3, 2015 at 6:40 | history | answered | Digisha | CC BY-SA 3.0 |