Osclass forums

Support forums => Plugins => Plugin Payments => Topic started by: Sudo on March 05, 2017, 02:38:57 am

Title: [SOLVED] - How to check 'highlight' and 'premium' by default
Post by: Sudo 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
Title: Re: Question - How to check 'highlight' and 'premium' by default
Post by: Sudo on March 17, 2017, 04:25:01 am
Is there any update on this?

Thanks in advance!!!
-Robert
Title: Re: Question - How to check 'highlight' and 'premium' by default
Post by: _CONEJO 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"
Title: Re: [SOLVED] - How to check 'highlight' and 'premium' by default
Post by: Sudo on March 17, 2017, 06:57:58 pm
Thank you!!!