X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Move Buy Now Button (https://forum.x-cart.com/showthread.php?t=11281)

digisoftuk 01-05-2005 02:57 AM

Move Buy Now Button
 
I am looking for some help on moving the buy now button i want to move it from the bottom of the page to the top right hand side of my product discription can some advise how i can do this and what files i need to edit.

Look forward to your help and comments i am using 4.0.9

Thanks

Chris

balinor 01-05-2005 08:31 AM

I assume you are talking about in the display of your products in a specific category? If so, you will want to edit products.tpl. The buy now button is this piece of code:

Code:

{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}


Just cut that and paste it where you want it. If you want to put it next to the description, you will probably want to split the cell containing the description into two cells, with the description on the left and the buy now include on the right.


All times are GMT -8. The time now is 07:51 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.