Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED]Custom item ordering doesn't work well 3
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED]Custom item ordering doesn't work well 3

[SOLVED]Custom item ordering doesn't work well 3 10 years, 5 months ago #19424

Hello,
This issue is related to these forum post:
www.smartaddons.com/forum/55-sj-k2-slideshow-ii/14854-solvedcustom-item-ordering-doesnt-work-well
and
www.smartaddons.com/forum/55-sj-k2-slideshow-ii/17106-solvedcustom-item-ordering-doesnt-work-well-2

In helper_base.php, before the rows:
$db->setQuery($query);
$items = $db->loadObjectList();

add these rows to order:
$orderby = "FIELD (i.id, ".implode(',', $current).")";
$query .= " ORDER BY ".$orderby;

Regards

Re: [SOLVED]Custom item ordering doesn't work well 3 10 years, 5 months ago #19452

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Hi Andrea Montilli,

Thank you for your feedback
We will consider and update this issue.

Best regards,
  • Page:
  • 1
Time to create page: 0.27 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes