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)
-   -   Moving price field in product details (https://forum.x-cart.com/showthread.php?t=61470)

aitek 11-03-2011 09:39 PM

Moving price field in product details
 
Ok, so currently my price 'box' is at the bottom of my product page, and I want to move it to the right side of my product image. I have found that it takes up most of skin/customer/main/product_details.tpl and my image box is in product.tpl.

I'm wondering If I should remove either the price section or the product description out of product_details.tpl and place it in its own .tpl file so that I can include it where I want like right after the image box.

Is this the right way to go about it? Has anyone done this and can point me in the right direction? Thanks

cflsystems 11-04-2011 04:36 AM

Re: Moving price field in product details
 
A lot more easier to block out description. Be careful with this template - very easy to break it and add to cart to stop working, or variants to stop changing elements on page on selection

apeek22 11-10-2011 10:25 AM

Re: Moving price field in product details
 
Just did this myself, moved the price to the right side of the description , and quantity and add to cart in a separate box underneath pricing.

Somewhat of a pain.

You will need to edit the following...
customer/main/product
customer/main/product_details

And of course your css. I just used absolute positioning and created divs to get it where I want..


All times are GMT -8. The time now is 04:02 PM.

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