Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ public function processItemAfterId(&$item, $params = null)
$psaid = $this->insert($sql, array($pid, $attrid, $idx));
}

// Allow position update to update attribute ordering
$sql = "UPDATE `$cpsa` SET position=? WHERE product_super_attribute_id=?";
$this->update($sql, array($idx, $psaid));

// for all stores defined for the item
$sids = $this->getItemStoreIds($item, 0);
$data = array();
Expand Down