Jump to content

Code Get Product Price


Recommended Posts

Hello,

I need small help for insert one button in product page /product.tpl/. It must take to a final price of the product and put it in the url

 

This is the code but it get only price without vat, attribute end etc.  :

 

button type="button" class="buttonsmall" onclick="location.href='http://mysite.com/credit/tbi.php?price={$product->price}&product_name={$product->name|escape:'html':'UTF-8'}&product_id={$product->id}'">TBI Credit</button>

 

Thank you in advance.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...