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
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Cross selling prodcuts on home page
Author « Topic »  

JustDucky923
Ecommerce Template Guru

USA
1332 Posts

Posted - 03/08/2023 :  09:15:09  
I've added my products to the home page by using the cross selling option. There are only two products and the client wants the order reversed so the second one shows up first. I've changed the order in the main settings and that works for the category page, but it doesn't change it on the home page.

How do I make this happen?

Vince
Administrator

42455 Posts

Posted - 03/08/2023 :  09:43:29  
Hi JustDucky
You could try this parameter in the includes.php file...
$GLOBALS['orsortby']=2;
$GLOBALS['orsortby']=12;
The setting "2" is to sort by the product id and the setting "12" by the product id in descending order, so hopefully one of these will help.

Vince

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

JustDucky923
Ecommerce Template Guru

USA
1332 Posts

Posted - 03/08/2023 :  10:11:27  
You are the best! That did it.

Thanks so much.
  « 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