Post by JoseBeltran » Sat May 26, 2012 9:43 am

Is there any way to add a button right below the Add to Cart. I am working on a site and were selling Music CD's and we want to add a button below the Add to Cart that can direct shoppers to iTunes and be able to buy the Album from there.

I know i can use the Description, but i want to see if there is a way to do it with a custom button.

thanks...

Newbie

Posts

Joined
Sat May 26, 2012 9:40 am

Post by straightlight » Sun May 27, 2012 1:33 am

Of course. In your catalog/view/theme/<your_custom_theme>/template/product/product.tpl file, you can find the function:

Code: Select all

addToCart
and add right below this line the new button that you want or create a new DIV and CSS to place that new button within (first instance that you find).

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JoseBeltran » Mon May 28, 2012 12:09 pm

Thanks straightlight. One last question. if i do add the button. is there a way to have a different URL link for each product, or a way to add the link when i create a new item with in the admin panel.

Newbie

Posts

Joined
Sat May 26, 2012 9:40 am
Who is online

Users browsing this forum: No registered users and 4 guests