Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Another Question About Custom Home Page
Author    Topic »  

sharonchinn
Advanced Member

USA
374 Posts

Posted - 09/30/2026 :  06:02:35  
I've set up a custom home page in Wordpress that has a slider, then cross-selling sections for recommended products and best sellers. I would really prefer it to show new products and bestsellers, but couldn't find a short code for 'new products'. The only way I could adapt it was to used the recommended short code, then I have to remember to check and uncheck products as I add new ones to the store so the 20 most recent show. They are just showing in random order, and I would like them to sort by most recent first. Is there some easier way to show new products on the home page and have them sort by 'date added'?

Here's the link to my page:
https://www.decorativepaintingstore.com/

Vince
Administrator

43500 Posts

Posted - 09/30/2026 :  09:59:49  
Hi Sharon
There wasn't support in the ECT Widgets plugin for the New Products Cross Sell feature but I've added it now. You need a new copy of ECT Widgets which is available here...
https://www.ecommercetemplates.com/free_downloads.asp#wordpress

So now you can set a shortcode such as...

[ect_crosssell crosssellaction="latest" crosssellcolumns=3 cslatesttitle="Our Latest Products" csproductpagelayout="productimage,productid,productname,price"]

Please note there is also support for a crosssellcolumns parameter so you can set the number of products you want to display.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

sharonchinn
Advanced Member

USA
374 Posts

Posted - 09/30/2026 :  13:11:11  
Hi Vince,
I downloaded the updated Widgets and uploaded them to my website, but the shortcode isn't working and I'm getting an error - Unrecognized crosssell action latest

I copied and pasted your code.

Is there something else I need to do?

Vince
Administrator

43500 Posts

Posted - 09/30/2026 :  14:08:14  
Hi Sharon
You need the vsadmin/inc/inccrosssell.php from one of the latest versions so can you try applying one of the latest updaters?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

sharonchinn
Advanced Member

USA
374 Posts

Posted - 09/30/2026 :  15:02:40  
Thanks again, I updated the store to 8.0.0, and now the latest products are showing. Can I set the sort order from newest to oldest?

Vince
Administrator

43500 Posts

Posted - 09/30/2026 :  15:15:38  
Hi Sharon
I'm afraid you can't as I didn't imagine that this could be a requirement. But what you can do is manually set the date added if that helps.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

sharonchinn
Advanced Member

USA
374 Posts

Posted - 09/30/2026 :  15:22:42  
I'm not sure what you mean by that. On my products page the products sort by the date added - newest to oldest. Would changing the date added manually change the order on the crosssell page?

Can I show discounts on the crosssell page?

Vince
Administrator

43500 Posts

Posted - 09/30/2026 :  15:26:19  
Hi Sharon
quote:
Would changing the date added manually change the order on the crosssell page?
Yes.

quote:
Can I show discounts on the crosssell page?
Yes, just add discounts to the csproductpagelayout part of the shortcode.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

sharonchinn
Advanced Member

USA
374 Posts

Posted - 09/30/2026 :  17:02:47  
I must be doing something wrong or misinterpreting what you mean about adding the date manually because I changed the date on the first 20 products to one day prior to what they showed to see if they would re-sort and it did nothing. They are still just in a random order.

But adding the discounts did work!

Vince
Administrator

43500 Posts

Posted - 09/30/2026 :  23:55:37  
Hi Sharon
I think I see what you are saying and the reason is that if you choose to display say 6 products, the oldest 6 will be selected from the database but there is no particular order that those 6 will be displayed.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

sharonchinn
Advanced Member

USA
374 Posts

Posted - 10/01/2026 :  05:31:52  
Thanks. For now, it is what it is then.
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000