David Carter Posted April 4, 2020 Share Posted April 4, 2020 Hi all I'm having some problems trying to place some code on a page. I'm using 1.7.6.4 and the Classic theme and want to place code in two places. First, the code below before the closing body tag, so I assume in layout-both-columns.tpl {literal} <script src="//widget.artplacer.com/js/script.js"></script> {/literal} I've done that, cleared the cache and checked the page source in two browsers, it's not there. Second, I want to place the following two widgets to appear fust under the product add-to-cart button on the product page: <artplacer gallery="2596" type="2" space="2556" text="View in a Room" resizable="1" artwork_url="{$product.cover.large.url}" height="{$product.weight}"></artplacer> <artplacer gallery="2596" type="1" space="2640" text="Try on your wall" resizable="1" artwork_url="{$product.cover.large.url}" height="{$product.weight}"></artplacer> I placed the code on the following page: public_html/themes/classic/templates/catalog/product.tpl And nothing shows up. {$product.cover.large.url} is the product image I wish to pass to the widget, and I'll use {$product.weight} for the height attribute (I don't use the weight field in my store). Can anyone help me with placing this code please? 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