Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-18-2019 05:16:02

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

Order inventory items in select list by price

Is it possible to order inventory items in the product select list by price rather than by id?

Thanks, Simon

Offline

 

#2 07-18-2019 07:39:04

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19326
Website

Re: Order inventory items in select list by price

Product select list?


Nick Hendler

Offline

 

#3 07-18-2019 07:56:02

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

Re: Order inventory items in select list by price

The select box on the product page where you choose which inventory item you want to buy. I'm creating a new array first and sorting it to get this list in a different order.

Offline

 

#4 07-19-2019 07:22:16

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19326
Website

Re: Order inventory items in select list by price

When you add or update an offer using Store / Catalog / Product Offers, in the Inventory Item(s) field under Configure - All Types, the order you enter the items in is the order in which they're presented.  To mass-update this, you can edit the ecom_pricemap table directly and adjust the value for the sortorder field for each entry.


Nick Hendler

Offline

 

Board footer