CAT | administration
22
How To Setup Google Adwords Conversion Tracking On Magento
1 Comment · Posted by leo in administration, development, magento
Setting up Google Adwords Conversion Tracking on your Magento store is relatively easy – but it’s not a built-in Magento feature, so you’ll have to edit a template file. Here are the 4 simple steps that need to be done:
1. Open this file:
/app/design/frontend/default/yourskinname/template/checkout/success.phtml
2. At the bottom of the file, insert this code:
1 2 3 4 | <?php $order_details = Mage::getModel(’sales/order’)->loadByIncrementId(Mage::getSingleton(‘checkout/session’)->getLastRealOrderId()); $adwords_saleamt = $order_details->subtotal; ?> |
3. Login to your Google Adwords account
Under the “Reporting’ tab, click on “Conversions” and follow the steps to get the code that you’ll also need to add to the success.phtml page. It will look something like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <!– Google Code for Sale Conversion Page –>
<script type=”text/javascript”>
<!–
var google_conversion_id = xxxxxxxx;
var google_conversion_language = “en”;
var google_conversion_format = “3″;
var google_conversion_color = “ffffff”;
var google_conversion_label = “KFKFKFKFKFKF”;
var google_conversion_value = 0;
if (200) {
google_conversion_value = 200;
}
//–>
</script>
<script type=”text/javascript” src=”https://www.googleadservices.com/pagead/conversion.js”>
</script>
<noscript>
<div style=”display:inline;”>
<img height=”1″ width=”1″ style=”border-style:none;” alt=”" src=”https://www.googleadservices.com/pagead/conversion/0987654321/?value=150&label=KFKFKFKFKFKF&guid=ON&script=0″/>
</div>
</noscript> |
4. Copy Google’s code
And paste it at the very bottom of the page (below the php code from step 2).
adwords · conversion · magento
15
Creating Magento Landing Pages – Video Guide
No comments · Posted by leo in administration, design, development, magento, video
Landing Page is the most important part of your website – it is the page your prospective customers see first, and having it designed well is essential. This video guide will show you exactly how to do that.
15
Template Path Hints – Video Guide
No comments · Posted by leo in administration, development, magento, video
The first thing for you develop the magento is turning on the Template Path Hints!
15
Magento Admin System – Video Guide
No comments · Posted by leo in administration, magento, video
Quick look for the Magento Administration interface – here, we can take a look into the back-end system that powers this E-Commerce platform. Just click Play to begin!
19
How To Setup Multiple Magento Stores (Part 3)
No comments · Posted by leo in administration, development, magento
Subdirectory Method
This is the same scenario as above, except all of the shops will be in subdirectories, e.g.:
- mall.com/shoes
- mall.com/shirts
Here’s how we would set this up for the shoes subdirectory:
- Login to your site via SSH, and create a subdirectory where your second store will be:
- cd public_html
- mkdir shoes/
- cd shoes/
- Copy the index.php and .htaccess file from the directory where Magento is installed, which would be in our root web directory:
- cp ../public_html/index.php ../public_html/.htaccess .
- Open up the index.php file that we just copied over and replace the following line of code:
1
$mageFilename = 'app/Mage.php';
…with the following:
1
$mageFilename = '../public_html/app/Mage.php';
- With the index.php file still open, replace the following line of code:
1
Mage::run();
…with the following:
1
Mage::run('shoes', 'website');
development · magento · multi · multiple · store
19
How To Setup Multiple Magento Stores (Part 2)
2 Comments · Posted by leo in administration, development, magento
Adding Another Store In Magento
The first thing we need to do is setup our second store in Magento.
We’re going to do a hypothetical here for the naming conventions, and assume we own shirts.com. Adjust the values accordingly for your own store.
- Login to the Magento admin.
- Go to the Catalog tab, and select Manage Categories.
- Click on the Add Root Category button on the left.
- On the right, for the Name, we’ll enter Shoes.com. Set the dropdown to Yes for both Is Active and Is Anchor.
- Click the Save Category button.
19
How To Setup Multiple Magento Stores (Part 1)
No comments · Posted by leo in administration, development, magento
As I mentioned before, I am doing a multi-language and multi-currency website at that moment. So I found a lots information about how to setup the multiple store from internet. Here is a good one:
From crucialwebhost.com
———————————————————————————————————
There are numerous ways to setup multiple Magento stores that all share the same codebase and backend, but what method you use depends on your needs.
This article is written with cPanel in mind, though the methodologies listed below apply no matter what control panel you’re using.
15
Some Methods to Speed up Magento – a Guide to Making Magento Faster
2 Comments · Posted by leo in administration, development, magento
Some Methods to Speed up Magento – a Guide to Making Magento Faster
1. Install Fooman Speedster
This one made a massive difference to page loads for the first site I am testing.
http://www.magentocommerce.com/extension/457/fooman-speedster
2. Enable Gzip Compression in .htaccess
http://www.magentocommerce.com/boards/viewthread/7100/
To do this, uncomment this part in the .htacess: (Line 52)
#php_flag zlib.output_compression on
(ie Remove the # save and reupload)
(Next are from – http://www.magentocommerce.com/blog/comments/performance-is-key-notes-on-magentos-performance/)
24
How to change the Magento Email Templates
No comments · Posted by leo in administration, cms, magento
You’ll probably know by now that the transactional email templates in Magento are a bit, with respect, “naff”. To edit through the admin will take forever and a day so here’s a couple of useful solutions to help make things easier.
1. Locate the email templates
The Magento email templates are located in (note: “en_US” may change depending on language).
magento\app\locale\en_US\template\email\account_new.html”:
magento\app\locale\en_US\template\email\admin_password_new.html”:
magento\app\locale\en_US\template\email\newsletter_subscr_confirm.html”:
magento\app\locale\en_US\template\email\order_creditmemo.html”:
magento\app\locale\en_US\template\email\order_creditmemo.html”:
magento\app\locale\en_US\template\email\order_invoice.html”:
magento\app\locale\en_US\template\email\order_invoice.html”:
magento\app\locale\en_US\template\email\order_new.html”:
magento\app\locale\en_US\template\email\order_new.html”:
magento\app\locale\en_US\template\email\order_shipment.html”:
magento\app\locale\en_US\template\email\order_shipment.html”:
magento\app\locale\en_US\template\email\order_update.html”:
magento\app\locale\en_US\template\email\password_new.html”:
magento\app\locale\en_US\template\email\wishlist_share.html”:
(more…)
If we don’t want our customer can add the TAG on the product page, here is a quickly solution:
On the Admin page, go to System>Configuration>Advanced
Then switching ‘Mage_Tag’ to Disable and clicking the ‘Save Configuration’ button.
All done.
administration · magento · tag
