| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Newest Products | ||||
|
|
Thread Tools | Search this Thread |
#311
|
|||||||
|
|||||||
Re: Newest Products
Yes, it is working but only change
new products_tn.tpl file, please replace attach file on skin/common_files/customer/main |
|||||||
|
#312
|
|||||||
|
|||||||
Re: Newest Products
Worked perfectly.
Thanks Cankus!!!!
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#313
|
|||||||
|
|||||||
Re: Newest Products
Also, you can add the manufacturer into the newproducts.php page by putting this into newproducts.php:
PHP Code:
right above: PHP Code:
cheers!
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#314
|
|||||||
|
|||||||
Re: Newest Products
Quote:
Hi Cankus...... Is there a chance that you could make available the whole mod for 4.4 - the code edits, SQL mods and up-to-date files? I've read through the thread and my head is spinning!?! I visited your site and the mod looks really good! many thanks Adrian |
|||||||
#315
|
|||||||
|
|||||||
Re: Newest Products
Quote:
Though the post above is over three years old, I encountered this same issue and didn't notice a solution (granted I didn't check all the posts in this thread). Anyway, if anyone still wants to show the market price in addition to the sale price I think I figured out a way. 1. In the file include/func/func.product.php Look for the following Code:
and add the following after it: Code:
2. You will want to open your template file (I'm using the name products_tn.tpl) and write an if statement that compares the list_price to the taxed_price. Your template code may differ depending on whose recommendation you are trying but look for something like this: Code:
And add something like this right after it: Code:
While I am a programmer, I don't know php at all, so I've stumbled through this. It seems to be working though I haven't throughly tested it. I've modified my X-Cart code a bunch so I don't know how helpful this will be (e.g. your class names/format may be different), but I hope it helps someone.
__________________
v4.4.4 Pro |
|||||||
#316
|
|||||||
|
|||||||
Re: Newest Products
Quote:
I have sent you a mail and submit a support ticket about the compatibility of the mod for my x-cart Pro 4.4.2 but got no answer.Pl reply FAST.
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#317
|
|||||||
|
|||||||
Re: Newest Products
Can you please tell us how to make this work for xcart gold 4.5.2???
__________________
4.5.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|