ritodk Posted September 1, 2015 Share Posted September 1, 2015 HiI am working with the two files:/themes/XXXXX/modules/blockcart/blockcart-json.tpl/themes/XXXXX/js/modules/blockcart/ajax-cart.js I am trying to get the Tools:getPath(ID_CATEGORY_DEFAULT) in the tpl file so I can fetch it in my ajax-cart.js file. I can see that it is possible to call a function thrugh smarty, but I can not figure out how. I can see this example workes: {$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|addslashes|replace:'\\\'':'\''} But how can I access Tools:getPath()? I need the breadcrumb so I can add Facebook Dynamic Product Ads to my webshop. 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