PixelPaul

March 2014

Magento allow only certain products to continue with checkout

Posted on March 31, 2014

So like always, i have a client who needs to have it so the customer can only continue to the checkout and finish it if they have certain products in their cart. this is in magento 1.7 but i don’t see why it wont work with the latest version. First you need to create a new product attribute and assign it to the attribute sets your using in your magento. In this example i have created my new attribute with the attribute code or allowcheckout and i have made it a type of Yes/No. now once you have that go…

Continue Reading

Magento restrict admin order grid by website for user

Posted on March 25, 2014

So this is a real quick and easy way to restrict all orders from a websites or store views in your magento for a selected user role. find this file in your magento install: /app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php i do recommend you copy and edit a version of this file over to your local code folder. now around line 59 find this line

and below add this code

change these parts to your requirments: USER_ROLE_HERE = the role name of your user permissions role ( in magento: System > Permissions > Roles ) STORE_ID_HERE = The Store ID of the store view…

Continue Reading

Magento use the associated product images for the group product image

Posted on March 7, 2014

howdy, so i have a client who has a lot of grouped products and they don’t like having to re upload product images for the group product when the images are already on the simple product. And i too think it can be improved. So i have modified magento a bit so each time a grouped product is being viewed, if no image has been uploaded for that grouped product it uses the images from the associated products. if you would like to have a look check out my dev install here: http://dev.pixelpaul.net/magento/1-8-1/category-2.html?mode=grid the grouped product there has no individual…

Continue Reading