
B. Tuff Jeans
Launched 05/08/2015
- Client Designed
- Magento
- Shares admin with Cowgirl Tuff Co.
- Theme based on new RWD theme
- Responsive
- SASS with Compass
- Typekit fonts
- jQuery
- Some extensions used:
- MageParts Customer Restrictions – disable cart by group
- BubbleShop CMS Tree – manage CMS pages and control which customer group sees what
- Groups Catalog 2 – hide categories and/or products by customer group
- MageMe WebForms Pro 2 – form builder
- Belvg Login Redirect – redirect user to different page when logging in
- AOE Scheduler – manage scheduler/cron tasks including a timeline view
- Cron Import Export – Paul developed a custom extension for importing/exporting products
- Store Locator using Easy Locator service

Cowgirl Tuff Co.
Launched 04/20/2015
- Client Designed
- Magento
- Shares admin with B. Tuff Jeans
- Theme based on new RWD theme
- Responsive
- SASS with Compass
- Typekit fonts
- jQuery
- Some extensions used:
- MageParts Customer Restrictions – disable cart by group
- BubbleShop CMS Tree – manage CMS pages and control which customer group sees what
- Groups Catalog 2 – hide categories and/or products by customer group
- MageMe WebForms Pro 2 – form builder
- Belvg Login Redirect – redirect user to different page when logging in
- AOE Scheduler – manage scheduler/cron tasks including a timeline view
- Cron Import Export – Paul developed a custom extension for importing/exporting products
- Store Locator using Easy Locator service
Magento: Fix Insert File action in Media Storage
The issue is when using Magento’s file manager to upload and insert photos, the Insert File button does nothing. You get the error TypeError: opener is null in browser.js.
In the file js\mage\adminhtml\browser.js, around line 228, change the two instances of opener to notOpener.
getTargetElement: function() { if (typeof(tinyMCE) != 'undefined' && tinyMCE.get(this.targetElementId)) { if ((notOpener = this.getMediaBrowserOpener())) { var targetElementId = tinyMceEditors.get(this.targetElementId).getMediaBrowserTargetElementId(); return notOpener.document.getElementById(targetElementId); } else { return null; } } else { return document.getElementById(this.targetElementId); } },
Orignal post here: http://www.fortwaynewebdevelopment.com/magento-admin-editor-opener-null-issue-inserting-imagesfiles/
Magento cron to clean logs
Before a Magento site goes live, we need to create a cron to keep the log files from growing too big. Magento comes with a script thats in /shell/log.php that will do the job.
Set it for once a week or so around midnight.
/usr/bin/php /path/to/site/shell/log.php clean –days 30
Another think you should do is disable some of the logging in the first place. I posted that a while ago.
Magento: Fix address formatting in PDF printouts
As of ver. 1.9.0.1, the billing and shipping addresses are still formatted incorrectly on the PDF printouts for Invoices, Packing Slips, and Credit Memos.
In the Admin, go to System > Configuration > Customer Configuration. In the Address Templates section, find the PDF textarea.
Replace the contents with:
{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}| {{depend company}}{{var company}}|{{/depend}} {{if street1}}{{var street1}}|{{/if}} {{depend street2}}{{var street2}}|{{/depend}} {{depend street3}}{{var street3}}|{{/depend}} {{depend street4}}{{var street4}}|{{/depend}} {{if city}}{{var city}}, {{/if}}{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}| {{var country}}| {{depend telephone}}T: {{var telephone}}{{/depend}}| {{depend fax}} F: {{var fax}}{{/depend}}| {{depend vat_id}} VAT: {{var vat_id}}{{/depend}}|
All that’s being changed is the break “|” after City becomes “, ” and a break “|” is added after Street1.
Recent Comments