| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
What coding displays the shipping charges for a product. | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi all,
I am trying to add a area to my tabbed menu that is titled shipping info. Inside this box it will say, " The total shipping charges for this item is "X". What coding in which file can I input into this area where the "X" is so that it diplays the shipping costs for that item. I'm using the flate rate shipping method of $6.99. However, some of my larger items have an additional amount added on to the flat rate. Therefore, for some products I would like it to also display any additional costs of shipping. Anyone know how I can get this working? Thanks a lot!
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
|
#2
|
|||||||
|
|||||||
|
Not sure if this will work outside of cart.php, but this is the bit of code that controls the shipping cost display in cart_totals.tpl:
Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Hey Balinor!
Thanks I tried that code but it only shoes the shipping as $0.00. I guess it has to do with not working outside of the cart.php as you mentioned. Is there a way for me to possibly get it to work by adding some type of coding somewhere else? Right now I basically pasted that code into the product.tpl where the tabbed menus are.
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||