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
 PHP (Unix / Linux / Apache) versions
 sort not working
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

Wendi
Advanced Member

USA
164 Posts

Pre-sales questions only
(More Details...)

Posted - 04/29/2018 :  10:39:54  
I have a page setup to show my recently added products site-wide. I am using this code:

<?php
$orsortby=9;
$explicitid=220;
include "vsadmin/inc/incproducts.php";
?>


It used to work, but now it doesn't. It is just showing all products sorted by name.
I am on version 6.8.4 and my host uses php7.



Thanks,
Wendi

dbdave
ECT Moderator

USA
8802 Posts

Posted - 04/29/2018 :  10:46:56  
Are you using the filter bar, or side filter?
If so, and you have "sort" enabled there, then the $orsortby=9; will be ignored.

I posted a trick for that. I'll see if I can find it.

dbdave
ECT Moderator

USA
8802 Posts

Posted - 04/29/2018 :  10:48:39  
If the above is your issue, then (although I set this up on an .asp site) it's all javascript so it should work.
https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=108630

Wendi
Advanced Member

USA
164 Posts

Pre-sales questions only
(More Details...)

Posted - 04/29/2018 :  16:20:44  
That worked! Thank you so much!
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2020 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000