![]() |
Extra Add to Cart Button - Top of Product Page
Hello,
I need to have an extra add to cart button with quantity at the top of the product page. I have played around with the add to cart button and can get it moved by using the code below. However, I am not sure what else needs to be moved with it to get it to work and add something to the cart. Code:
{include file="customer/buttons/add_to_cart.tpl" type="input" additional_button_class="main-button add-to-cart-button"} The code above doesn't show the quantity like it does at the bottom of the product page, normally. Please tell me what code I need to insert at the top of the product.tpl page next to the following code: Code:
<h1>{$product.producttitle}</h1> Thanks, Randal |
Re: Extra Add to Cart Button - Top of Product Page
One thing to consider is that you need to keep it inside the form. If you move it outside the form, it has nothing to submit.
|
Re: Extra Add to Cart Button - Top of Product Page
Thanks for the reply. However, I saw the form and was trying to get it to work. In the following code I can get it to add to the cart but it won't display the quantity drop down box. Instead all that is displayed is a number one.
Can someone tell me what I am missing? Code:
<div class="moveover_buynow"> Thanks, Randal |
Re: Extra Add to Cart Button - Top of Product Page
I definitely want exactly this too! Randal or anybody, do you know a solution? Any mods out there?
HNY! |
All times are GMT -8. The time now is 11:27 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.