This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add custom attribute to catalog.xml within "catalog/product_list" block --> | |
<action method="addAttribute"><name>no_of_chickens</name></action> | |
<action method="addAttribute"><name>animal_type</name></action> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add Breadcrumbs | |
// ---------------------------------- | |
function dimox_breadcrumbs(){ | |
/* === OPTIONS === */ | |
$text['home'] = 'Home'; // text for the 'Home' link | |
$text['category'] = 'Archive by Category "%s"'; // text for a category page | |
$text['tax'] = 'Archive for "%s"'; // text for a taxonomy page | |
$text['search'] = 'Search Results for "%s" Query'; // text for a search results page | |
$text['tag'] = 'Posts Tagged "%s"'; // text for a tag page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Single row | |
INSERT INTO core_config_data (`scope`, `scope_id`, `path`, `value`) VALUES ('default', 0, 'admin/url/use_custom_path', 0); | |
// Multiple rows | |
INSERT INTO PUT_YOUR_TABLE_NAME_HERE ('scope', 'scope_id', 'path', 'value') VALUES | |
("Default", 0, "admin/url/custom", NULL), | |
("Default", 0, "admin/url/use_custom", 0), | |
("Default", 0, "admin/url/use_custom_path", 0); | |
DELETE FROM PUT_YOUR_TABLE_NAME_HERE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Where is 'translate.csv'? | |
app > design > frontend > playground > default > locale > en_GB | |
// 4.3 HOW TO CHANGE THE SEARCH BOX PLACEHOLDER TEXT IF TRANSLATE ISN’T WORKING | |
If you are finding that updating the ‘translate.csv’ isn’t working, there is another option or editing another file called ‘form.mini.phtml, which can be found by navigating to in the rdw theme, and then copying to your project folder: | |
app > design > frontend > “project name” > template > catalogsearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pre Installation: | |
01. Buy licence key from Ebizmarts. | |
(Magento 1) https://store.ebizmarts.com/sage-pay-suite-pro.html | |
(Magento 2) https://store.ebizmarts.com/sage-pay-suite-pro-magento-2.html | |
02. Request dev licence from Sage Pay. | |
03. Get Sage Pay vendor, username and password from customer. | |
04. Ping both dev and live servers to get IP address. | |
05. Submit server IP to MySagePay. | |
MySagePay > Settings > Valid IP's |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select class="form-control" onchange="location = this.value;"> | |
<option>Select a region...</option> | |
<option value="http://stage11.brightdesign.co.uk/wine-investment/investment-wines/bordeaux/">Bordeaux</option> | |
<option>2</option> | |
<option>3</option> | |
<option>4</option> | |
<option>5</option> | |
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://codepen.io/haibnu/pen/FxGsI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.sagepay.co.uk/support/12/36/linking-paypal-to-your-live-account |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}} | |
If you wish to redirect customers to specific page after newsletter subscription, here's how. | |
Copy | |
app\code\core\Mage\Newsletter\controllers\SubscriberController.php | |
to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01. Create a php.ini file and upload it to the wp-admin folder. | |
02. Put the following into the file: | |
upload_max_filesize = 64M | |
post_max_size = 64M | |
max_execution_time = 300 | |
max_execution_time, upload_max_filesize, memory_limit and post_max_size in the php.ini | |
03. File path to MAMP's php.ini: |