Advertisement:

Author Topic: <SLOVED> products_attributes plugin not updating values on edit in osc 3.6.1 >  (Read 671 times)

xop32

  • Jr. Member
  • **
  • Posts: 77
  • trend following
on installing the products_attributes plugin in osc 3.6.1 there is a problem with updating or editing values when you create a listing

when you install the products attributes plugin from the market  there seems to be a problem updating values after you have created a listing, they do not update


if you create a listing then add any values into make and model, it stores ok

then when you edit the listings, and try to change these values they are not being updated

does anyone else have this same problem??

 
« Last Edit: May 25, 2017, 03:50:45 am by xop32 »

xop32

  • Jr. Member
  • **
  • Posts: 77
  • trend following
this problem still is present in the products attributes plug in

the update function is not working in the index.php file for some reason



you can add (insert) values, but trying to edit them is not ok, looks like a error in the , function products_item_edit_post maybe passing the $item values???

anyone remember how to fix this?

trying this on 3.7.3

xop32

  • Jr. Member
  • **
  • Posts: 77
  • trend following
<SLOVED>

there is a error in the index.php of the products_attributes plugin

around line 170

// Edit an item special attributes POST
osc_add_hook('edited_post', 'products_item_edit_post');


where it should be this !!!!!!



// Edit an item special attributes POST
osc_add_hook('edited_item', 'products_item_edit_post');


the hook is called  edited_post where it looks like it should be  edited_item in maybe later versions of osc


I think this error runs across some of the other attribute plugins as well, looks like a update is needed!!
« Last Edit: May 25, 2017, 03:49:21 am by xop32 »