*

annunci

  • ***
  • 60 posts
When I activate this plugin I from a strange error, if I publish a new ad, I automatically from the status of sold and it is not even possible to change it. While if you deactivate the plugin it all comes back to work perfectly. I find it very unfair not to be able to use this plugin after paying it and I would like to solve the problem.
 
My website www.annuncigratuiti.com

*

Ivanko

  • *****
  • 388 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #1 on: October 07, 2017, 07:50:54 PM »
I don't have  such problem
plugin Version:1.3.0
Theme 1.1.9

Try to run plugin on clean theme without modification.


*

ferry

  • ****
  • 155 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #2 on: October 08, 2017, 12:27:33 AM »
I also have this problem. I have 10.000's  of ads marked as sold

Only solution till there is an solution is to comment the "sold" part in item.php, loop-single.php and loop-single-premium.php

*

annunci

  • ***
  • 60 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #3 on: October 08, 2017, 11:39:55 AM »
I don't have  such problem
plugin Version:1.3.0
Theme 1.1.9

Try to run plugin on clean theme without modification.
From how I understand I am not the only one to have problem. I solved disabling e-commerce modulo and the paid publication. I don't know though if the problem comes back. But if i deactivate the plug-in everything works fine. I ask the authors to check this bug in the next update. Because Osclass is your most important plug-in
« Last Edit: October 08, 2017, 11:41:43 AM by annunci »

*

ferry

  • ****
  • 155 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #4 on: October 08, 2017, 05:16:43 PM »
If you disable the plugin the marked ads as sold keep marking as sold. So that is no solution

*

reflexus

  • ****
  • 146 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #5 on: October 08, 2017, 07:52:12 PM »
for new listings you can comment this function, until the developers did not fix a bug:

Code: [Select]
// INSERT SALE AND QUANTITY WHEN LISTING IS PUBLISHED
function osp_item_post_data_insert( $item ) {
  ModelOSP::newInstance()->updateItemData( $item['pk_i_id'], Params::getParam('osp_sell'), Params::getParam('osp_quantity') );
}

//osc_add_hook('posted_item', 'osp_item_post_data_insert');
//osc_add_hook('edited_item', 'osp_item_post_data_insert');

*

ferry

  • ****
  • 155 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #6 on: October 08, 2017, 08:20:39 PM »
Thank you,

but ads marked as sold, stay marked as sold. So all the ads on the website are marked as sold. The only one who can unmark those ads as sold is the user. And with a lot of ads this is unpossible.

So there must come an fix to unmark those ads as sold also

*

MB Themes

Re: When active the plugin ads are automatically published as "sold"
« Reply #7 on: October 08, 2017, 09:12:13 PM »
You can go to database to table t_item_veronika and set i_sold to 0 for all.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: When active the plugin ads are automatically published as "sold"
« Reply #8 on: October 09, 2017, 11:00:04 AM »
Problem fixed in 1.3.1
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

annunci

  • ***
  • 60 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #9 on: October 11, 2017, 10:28:36 AM »
Problem fixed in 1.3.1

1.3.1 la avaiable now?

*

ishan

  • ****
  • 126 posts
Re: When active the plugin ads are automatically published as "sold"
« Reply #10 on: January 31, 2018, 08:02:08 AM »
You can go to database to table t_item_veronika and set i_sold to 0 for all.

Sir we used that according to you but still same problem. Sold is also displaying. so please tell me how to solve.

I am using osclass pay 1.3.1 and veronika : 1.1.10

*

MB Themes

Re: When active the plugin ads are automatically published as "sold"
« Reply #11 on: January 31, 2018, 02:01:17 PM »
@ishan
Item is marked as sold just in case it reacheck quantity of 0 and you've enabled quantity management in osclass pay plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots