Support Forums - Classified Ads Script Osclass
General osclass questions => Themes => Topic started by: epsilon on September 18, 2024, 09:05:55 PM
-
Hello Admin, Can you tell me how I can hide the Check with seller text from everywhere? So far I have removed all check with seller text and associated code from item.php, item-post.php but it is still visible. And in item-edit.php, apart from one line, there is no code
-
I was able to remove it from the item page in item.php: <div class="row price under-header p-<?php echo osc_esc_html(osc_item_price()); ?>x<?php if(osc_item_price() <= 0) { ?> isstring<?php } ?>"><?php echo osc_item_formated_price(); ?></div> Now it just needs to be removed from the homepage.
-
You must set price as required field.
Easiest way is to modify item-post.php
-
Can you tell me under which line I have to edit something
-
No.
-
You can add required attribute in multiple way:
- via jquery add required: true on price inout
- via jquery validation define new required input (iPrice)
- edit core form file and set price to be always required by adding "required" attribute to input (html5 validation)