Move Buy Button


Can anyone help me to move my “buy” button? It seems to displaced if the product has quantity discounts set. I attached a screenshot of what it looks like right now. I want to move it near the quantity selector (+/-) buttons.

[attachment=6980:Screen shot 2013-06-21 at 3.49.06 PM.png]

Thank you in advance!

Screen shot 2013-06-21 at 3.49.06 PM.png

cscart version im using is V3.03 Ultimate

The display you are showing is the default way that CS-Cart inserts quantity discounts on the page.

I think it’s more accurate to say you want to move the table with quantity discounts to ABOVE the Qty + Buy button, from BETWEEN the Qty + Buy button.

Look in this template and see if you can move the products_qty_discount.tpl placement:


There’s a hook in there that you should be able to utilize.

If you can do this, please share it. I’d like to do this too. :)

I gave this a whirl and found it worked. I agree with you that it's a general improvement in the layout of the info on the page.

Edit the skins\basic\customer\common_templates\product_data.tpl

Move this up:

{if $product.prices}

{include file=“views/products/components/products_qty_discounts.tpl”}


I placed it here (line 406 in my template):

```php {if ($product.qty_content || $show_qty) && $product.is_edp !== “Y” && $cart_button_exists == true && ($settings.General.allow_anonymous_shopping == “Y” || $auth.user_id)}

{*** Start Move Qty Discount up }

{if $product.prices}

{include file=“views/products/components/products_qty_discounts.tpl”}


End Move Qty Discount up ***}


@Magpie Don, Thank you very much for your help! It worked for me! :)