morepork Posted February 5, 2010 Share Posted February 5, 2010 Hi All,I would like to add a custom graphic to my Shipping page (just below the Terms and Conditions text). I have made a map that helps visually explain my Carrier choices to make it easier for the customer to select the correct shipping options.Can anyone help with a line of code I can add to the appropriate page which will show my image - I think it will also need a proviso that it doesn't show if shipping costs don't apply... Link to comment Share on other sites More sharing options...
rocky Posted February 5, 2010 Share Posted February 5, 2010 Modify order-carrier.tpl in your theme's directory and add an img tag after the {if $conditions} section. For example: <img src="{$base_dir_ssl}upload/carrier.jpg" alt="Carrier Instructions" width="64" height="64" /> Change the link, alt tag, and size as appropriate for your image. Link to comment Share on other sites More sharing options...
morepork Posted February 5, 2010 Author Share Posted February 5, 2010 That's great - except that if I have a free downloadable product, for example, the map still shows up on the page. How would I add an if statement so that the map doesn't show on a downloadable product? Link to comment Share on other sites More sharing options...
rocky Posted February 5, 2010 Share Posted February 5, 2010 Try the following instead: {if !$virtual_cart}{/if} Link to comment Share on other sites More sharing options...
morepork Posted February 5, 2010 Author Share Posted February 5, 2010 That's perfect! Thankyou so much. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now