CAT | Magento user guides and help

Are you wanting to embed a YouTube video into a CMS Page, Static Block or Product Description in Magento?

YouTube allows you to embed videos into your website/blog by using an iframe (Which is an inline frame, used to embed another document within the current HTML document) The problem with this is Magento’s default WYSIWYG editor doesn’t allow the iframe or embed tag. To get around this you need to use YouTube’s old embed code, Which you can get by following these steps:

On the YouTube Video:
1. Click Share (located underneath the video)
2. Click Embed
3. Make sure the ‘Use old embed code’ option is ticked

4. Then simply copy the code given and paste it into Magento (make sure you press show/hide editor first to view the code)

You can read more about Youtube Embed codes at:
http://support.google.com/youtube/bin/answer.py?hl=en&answer=171780&expand=UseOldEmbedCode#oldcode

· · · ·

As a Magento Developer, one of the most common requests we have is it to remove the default Estimate Shipping and Tax box on the Shopping Cart page.

To do this go to frontend/default/yourtheme/template/checkout/cart/shipping.phtml

Go to line 121 and delete the following code:

<div class="col-2">
<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
</div>

· · ·

When pressing ‘Ship’ in your order, you may come across the following error message:

Fatal error: Call to a member function isShippingLabelsAvailable() on a non-object in /home/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/Shipment/Create/Items.php on line 132

To fix this go to app/code/core/Mage/Sales/Model/Order.php and find line 1213

Then simply change this:
$shippingMethod = parent::getShippingMethod(); 
To this:
$shippingMethod = $this->getData('shipping_method');



· · · ·

If you’re trying to install an extension using the Magento Connect Manager, the below error message will probably be a familiar site:

Magento Permissions Problem

This can be fixed in 2 simple steps:

1. Make sure the FTP details are correct:
FTP Host: This needs to start with ftp://
FTP Login: FTP Username
FTP Password: FTP Password
Installation Path: Most of the time this will be /public_html/ or if you have the website in a sub directory /public_html/directory/

2. Make sure the folders have the correct permissions:
The following files/folders require writable permissions for normal Magento operation. This doesn’t always mean permissions of 777, It just depends on the server configuration.

  • Downloader
  • Var and all Subfolders
  • Media
  • App/etc/use_cache.ser

All other files can generally be set to 644 and directories to 755

 

· · · · · ·

 

Its no secret  at 2J Design we love Magento, the platform once you understand it and know how to use it is certainly a powerful business tool for online commerce, however Magento is a large Ecommerce system so this usually requires abit of initial training and guidance on loading products, categories and managing orders.

So we have decided to create a dedicated section in our blog for Magento training and how to guides, plus a whole range of FAQ’s and common problems people face when adding products to their website.

This section will contain lots of tips, tricks and SEO techniques that will help everyone with a Magento website, every one of our new clients likes us to go through the system with them and explain how to create various product types and create listings for maximum SEO effect which we have no problem in doing, but having that resource to go back to for a refresher will be a big benefit.

After discussion with a few Magento clients and asking what sort of thing they would like from a Magento Developer one of the most common was guides online in a simple format to follow and understand with screen shots to help them do day to day things in Magento.

So over the coming weeks / months our developer and SEO experts will be writing blogs of lot topics from simple fixes to creating advanced configurable products.

The best way to keep upto date is follow us on twitter as each new article will be posted to our twitter page or subscribe to our blog RSS feeds.

You can also drop us an email and ask to be added to our newsletter (Email subscribe@2jdesign.co.uk).

Keep checking back as we will be posting plenty of updates and great guides to this section.

· · · · · ·