I have an extention for – Advanced custom options. I would like to display the related options for every products in the order/grid. This is the code I use: protected function _prepareCollection() { $collection = Mage::getResourceModel(‘sales/order_grid_collection’); $collection->getSelect()->join ( ‘sales_flat_order_item’, ‘sales_flat_order_item.order_id = main_table.entity_id’, array ( ‘price’ => new Zend_Db_Expr(‘group_concat(sales_flat_order_item.price SEPARATOR “<br><br><hr>”)’), ‘proname’ => new Zend_Db_Expr(‘group_concat(sales_flat_order_item.name SEPARATOR [...]
Archive: magento development
I have done a lot of research on this and am still unsatisfied. Magento is technically more powerful, however it is also expensive to develop and run due to the need for a powerful server. Prestashop is fast and light and user friendly. However even on stackoverflow I have seen people suggest that Prestashop is [...]
I recently installed a module which creates an advanced search form on the left sidebar. Please view my website: http://www.efficienttrade.co.nz/ On my website you will notice that I have 3 search panels. One being the current advanced search found on the left sidebar, one remaining in the default store search area, and a third one [...]
We would like to add a dynamic block to the product page. The problem is that the product page has full page caching (and we cannot turn that off due to speed issues). We want to display different information on each product page based on the logged in user’s account, and it varies from product [...]
I’m running an upgrade on an existing Magento site. After about 10 minutes, Magento reports an exception, and when I check the error report file in /var/report I see the following error message and stack dump: a:5:{i:0;s:223:”Error in file: “/var/www/vhosts/mymagesite/app/code/core/Mage/Customer/sql/customer_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php” – SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ’0-8′ for key ‘UNQ_BY_CUSTOMER’”;i:1;s:952:”#0 /var/www/vhosts/mymagesite/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(‘Mage_Core’, ‘Error [...]
My question is simple. I basically have 2 attributes on which my simple products are attached to my config items. I want to display the 2 attributes which are COLOR and SIZE in the shopping cart which will be of simple items. How can I do that? I am using Magento 1.5 and Single Configurable [...]
I am working on migrating a Magento 1.3 install to version 1.5 of Magento. Due to the complexities of the 1.3 install, the database is being migrated by an export/tweak/import process. Unfortunately, during the import step, the ID column for customers, orders, and products, is different from the old version’s ID, and the differences result [...]
I have developed a collections module for a clients Magento site. Among other things, this module pulls in product details (media, description, attributes) on the category listing page. The issue I am running into is that my blocks are not rendering on the clients site (Magento EE 1.8), even though everything works locally (Magento CE [...]
For some reason I am getting the white screen of death when I try to print an order from the frontend of my Magento store. If you go to: www.mymagentostore.com/sales/order/print/order_id/1/ It simply takes me to an blank pages, no source code. I checked the server and php logs and nothing is displayed. Any ideas? I [...]
After moving a site from local to remote server. I cannot get the magento conect manager to install extensions. No obvious info regarding this paticular error online. If give an extension url….it will show the preloader for a few seconds, before returning to the connect page, with no error. If use the package uploader, initially [...]