| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Want to include price in 2 places on product.tpl page... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
Several of the items I sell have different variations which affect the price. To help customers make their choices I'd like to include the price closer to the "Add to Cart" button at the bottom of the screen. I have been able to add the base price but when different options are selected only the price at the top of the page changes. For an example see: http://www.pipsqueakboutique.com/product.php?productid=16138&cat=258&page=1 You'll notice that the base price of $17 changes for the top price, but not the second one. Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() Make sure you copy the WHOLE price blurb of code, and not just the actual price portion. There is code in there that ties in to the product options.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() The code that I copied and pasted is:
Code:
There's nothing else around it related to pricing. Above is the title and below it starts with the upselling module. Any idea what I'm missing? Thanks, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Hi, just an update on this as I notice you never got it working (looking at your site). I was in the same situation but got X-cart to help me. From another posting I made today:
OK, got X-cart to help me with this. in customer/main/product.tpl change the second instance of the price to use a separate span tag, in this case product_price2: Code:
and in /modules/Product_Options/check_options.tpl add this: Code:
underneath // Update price so it looks like this: Code:
Works for me! Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#5
|
|||||||
|
|||||||
![]() Thank you so much Dan, worked perfectly!
![]() I sent 2 messages to the X-Cart team about how to do this, or for a price to have them do it, and both of them were deleted with no response. I'm glad you were able to get an answer from them. Thank you very much for sharing it! All the Best, Jennifer
__________________
Jennifer Kirkpatrick X-Cart Pro Version 4.4.1 AND X-Cart Gold Version 4.1.9 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|