Loading


Advertisement:

Author Topic: [SOLVED] - How to check 'highlight' and 'premium' by default  (Read 186 times)

Sudo

  • Newbie
  • *
  • Posts: 27
[SOLVED] - How to check 'highlight' and 'premium' by default
« on: March 05, 2017, 02:38:57 am »
Hi,
When user goes to page to post an item, with the plugin it adds 'highlight' and 'premium' options.
There is a check box to add these options to listing.  Box is unchecked by default, I would like
to have checked by default, so user has to uncheck if they dont want to add premium features.
I cannot find this form in the code.  Can you help?

Thanks in advance!!
Robert
« Last Edit: March 17, 2017, 06:57:39 pm by onebackpage »

Sudo

  • Newbie
  • *
  • Posts: 27
Re: Question - How to check 'highlight' and 'premium' by default
« Reply #1 on: March 17, 2017, 04:25:01 am »
Is there any update on this?

Thanks in advance!!!
-Robert

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4437
Re: Question - How to check 'highlight' and 'premium' by default
« Reply #2 on: March 17, 2017, 09:50:29 am »
In oc-content/plugins/payments_pro/user/item_edit.php

lines 14 (for premiums) and line 30 (for highlight), look for

Code: [Select]
<input type="checkbox"

change it to



Code: [Select]
<input type="checkbox" checked="checked"

Sudo

  • Newbie
  • *
  • Posts: 27
Re: [SOLVED] - How to check 'highlight' and 'premium' by default
« Reply #3 on: March 17, 2017, 06:57:58 pm »
Thank you!!!