*

SilenceXX

  • **
  • 11 posts
How to make republish renew expiration.
« on: May 10, 2018, 11:55:54 AM »
Hello.
Sorry about my english, not my native.


I have some problem with item republish. On our website we are having short ad expiration timer, 4 days. If customer wants longer period, he must either make new add, or republish ir for fee with longer period. Republish does change item posted date, but doesnt change item expiration date. Any ideas how to fix it?

*

MB Themes

Re: How to make republish renew expiration.
« Reply #1 on: May 10, 2018, 12:38:05 PM »
@SilenceXX
Republish does not extend expiration date at all.
You can check these settings in oc-content/plugins/osclass_pay/model/ModelOSP.php
public function createItem(
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

SilenceXX

  • **
  • 11 posts
Re: How to make republish renew expiration.
« Reply #2 on: May 10, 2018, 03:57:40 PM »
Thanx for at least pointing out where to look... Now will need to think how to tie in dt_expiration from t_item to add on every republish 7 days of expiration date.

*

SilenceXX

  • **
  • 11 posts
Re: How to make republish renew expiration.
« Reply #3 on: May 10, 2018, 04:00:45 PM »
And another question, any way to setup that promote options are only shown to listing owner (user who posted it). (If anyone looks over ads he doesnt need to see that promote menu)

*

MB Themes

Re: How to make republish renew expiration.
« Reply #4 on: May 10, 2018, 10:50:20 PM »
@SilenceXX
Well, why you think everyone see promotion options?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

SilenceXX

  • **
  • 11 posts
Re: How to make republish renew expiration.
« Reply #5 on: May 12, 2018, 09:39:14 AM »
@SilenceXX
Well, why you think everyone see promotion options?

Because we had old version... One from osclass market. Did rebuy it and insert in site, and that part was fixed.

*

SilenceXX

  • **
  • 11 posts
Re: How to make republish renew expiration.
« Reply #6 on: May 13, 2018, 12:07:35 PM »
If i may ask another question (hopefully last one). With function sets  in table t_item -> dt_pub_date to date when it is republished? From what i see it is not public function createItem(.

*

MB Themes

Re: How to make republish renew expiration.
« Reply #7 on: May 13, 2018, 06:25:58 PM »
Look for dt_pub_date string in model, there will be date assignment for this column.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots