X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Newest Added products list for x-cart : 4.4.x compatible (https://forum.x-cart.com/showthread.php?t=56698)

Sparks 11-23-2010 08:46 AM

Newest Added products list for x-cart : 4.4.x compatible
 
Hi All,

Announcing that our moduel, the Newest Added products list for x-cart is now fully tested on X-cart 4.4.x .

Automatically lists the most recently added products on any page you wish. You can control the number shown and the date range shown, for example "show the 7 newest products added in the last 3 weeks"
You can randomly display new products, or show the newest products in order from oldest to newest or newest to oldest automatically.
Comes with three versions:
  • with product thumbnails.
  • simple text links
  • 3 column layout
You can also edit the TPL files easily just like any x-cart tpl.



For more information see Newest Added products list for x-cart Mod Page

digiemp 04-04-2011 04:03 PM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Hello,

I recently purchased this mod and I cannot get it to work.

The instruction files says:

2.) Upload all the .tpl files to xcart/skin/common_files

3.) Add the following line to xcart/skin/common_files/customer/main/welcome.tpl where you would like this information to appear:
{include file='customer/fts_newest_products.tpl'}

Is this correct?

How would I get the newest products to display on their own page, say example.com/newest-products ?

I have figured out how to add a link to the Category area but do not know how to make the link that says "Newest Products" actually show the newest product. I chose the 3 column layout as the display template.

Thanks,

Sparks 04-04-2011 04:16 PM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Hi there,

Could you post your website so we can see what's happening on the front end to get a better idea of what's going on.

Thanks

digiemp 04-04-2011 04:25 PM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Website URL sent via PM.

digiemp 04-04-2011 05:34 PM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
The provided instructions do not seem to be correct. The files should be uploaded to:
xcart/skin/common_files/customer

Not sure why you need my URL to tell me how to create a page that will display the newest products.

groovico 04-05-2011 09:24 AM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Hello Digiemp,

To create a page with newest products you simply create a new Static X-cart page (not a root one).

Add the tag below to the static page (where you would normally enter text)

{include file='customer/fts_newest_products.tpl'}

Now if you visit the page you should see the newest products appearing. However if you visit it and you see the text above then you need to turn Smarty Parsing on for static pages.

This is normally a checkbox located at the bottom of the x-cart page list, which says

"Parse Smarty tags in the content of embedded pages"

digiemp 04-11-2011 06:59 AM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Hello,

I have successfully created a page that displays the newest products. Thank you for the detailed instructions. However, when viewing the page with IE, I get quite a few errors.

Message: 'products_data' is undefined
Line: 143
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 153
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 163
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 288
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 340
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 392
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 461
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


Message: 'products_data' is undefined
Line: 471
Char: 1
Code: 0
URI: http://www.example.com/newest-products.html


These continue all the way down to line 4844. Any idea how to correct this issue?

Thanks

Sparks 04-11-2011 09:06 AM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Hi there,

I just had a look at your site (the one sent in PM) and it's appearing fine for me in IE, Chrome and FF. You might want to try the usual of cache clearing, and running the x-cart cleanup command as well.

digiemp 04-11-2011 09:14 AM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
Quote:

Originally Posted by Sparks
Hi there,

I just had a look at your site (the one sent in PM) and it's appearing fine for me in IE, Chrome and FF. You might want to try the usual of cache clearing, and running the x-cart cleanup command as well.


You looked at mysite/newest-products ?
The page does appear fine, that is, it loads and the images are present. However, IE clearly states "Done, but with errors on page." in the lower left of the browser. So the page works, but it isn't professional to have the error display.

Sparks 04-11-2011 09:53 AM

Re: Newest Added products list for x-cart : 4.4.x compatible
 
You sent me your page via a PM and I just popped on there but a few moments ago.

I'm on IE9 so that would explain why I don't see those errors. I'll ask one of the other techs to take a look at this.


All times are GMT -8. The time now is 12:32 AM.

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