cubecart / v6

CubeCart Version 6
https://cubecart.com
72 stars 58 forks source link

Option Attribute Priority Resetting #3540

Open bhsmither opened 6 months ago

bhsmither commented 6 months ago

Create an Option Group and Save. Start adding Option Attributes and Save. Notice that the priority follows the order the attributes were entered, starting (maybe?) at 1.

Later, resume adding Option Attributes to that Group and Save.

Notice that the priority being logged starts again at 1 and follows the order entered.

(I have not yet examined the code that does this.)

Request that new value attributes to be added (those coming into existence via the white plus in green circle) first have the database CubeCart_option_value queried to discern the highest priority value for the target 'option_id', and increment from that.