September 29, 2016 § Leave a comment
ACF Magento Product Select Field
Base on ACF Field Type Template
Install Magento WordPress integration, make sure it works first.
Put this into wp-content/plugins folder
Activate this plugin. (Make some products in your magento site).
Only support ACF v.5 at the moment.
You could find the github repos here https://github.com/nickwanhere/acf-field-magento-product
or wordpress directory https://wordpress.org/plugins/mage-product-select-for-acf/
November 29, 2012 § Leave a comment
Simple as it can be.
November 16, 2012 § Leave a comment
Edit the checkout.xml in the layout folder.
Within the tag, add following code which supposed to be there…
<reference name="head"> <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" /> </reference>
October 30, 2012 § Leave a comment
I believe you came across with this http://codex.wordpress.org/Integrating_WordPress_with_Your_Website, simply not working at all :[.
After messing around, I found couple recipes.
In every page, put this on top.
Of course you will still get some error, search that part of the code and look for what global variable the function is calling, and put it in the end of the declaration. Such as $acf in my case.
Good to go!
February 22, 2012 § Leave a comment
<?php system("zip -r /PATH/archive.zip /FOLDER_PATH"); ?>
October 17, 2011 § 1 Comment
In the frontend store, we normally use
But in the admin panel, if you ever want to access the quote that is created by admin you can use
October 16, 2011 § 6 Comments
In Magento, you may see this
Fatal error: Allowedmemory size of 33554432 bytes exhausted (tried to allocate 363 bytes) in....
So it means that you are in a loop, or not enough memory to run the magento.
In my case, I was customizing Magento in a great extend , such as product price calculation and shopping process. Everything is going fine when the currency stays the same, but if you switch currency you will get into a dead loop.
When touching price calculation , you always come across Quote Item Abstract class. However, I oversaw the fact that the class already get the method to get the quote, which I instead use
So it ends up looping over and over again, taking me using log function to track where it is.
Question is therefore raised, why would the Mage::getModel(‘core/session’)->getQuote() will only looping when switching currency? Need to investigate.