News Flash:
New Version of ShopClass theme 1.4.0 is Released on 13 JUNE 2018, Please upgrade your installation.

Dropdown in post and edit php

If you are having general problems with ShopClass theme, post your questions here. This is not the place for customization or feature requests
Post Reply
pureyes
Noob
Posts: 9
Joined: Fri Aug 10, 2018 1:01 am

Dropdown in post and edit php

Post by pureyes » Fri Aug 17, 2018 9:36 pm

Hi, how i can enable dropdown for regions and cities? I've been all day editing item_post.php and i can´t do it. Please help!!

Thanks!

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Dropdown in post and edit php

Post by tuffadmin » Fri Aug 17, 2018 9:54 pm

goto shopclass setting dashboard and look for search settings on main settings page.
Choose different location form from autocomplete.
Unfortunately it is located in search page settings but it is a general option which effect both search page and publish/edit page.

Regards
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

pureyes
Noob
Posts: 9
Joined: Fri Aug 10, 2018 1:01 am

Re: Dropdown in post and edit php

Post by pureyes » Fri Aug 17, 2018 10:10 pm

Doesn´t work. This is mi post php code.

</div>
<label for="countryId"><?php _e('Región', 'shopclass'); ?></label>
<?php tfcItemForm::country_select(osc_get_countries(),osc_user()) ; ?>
</div>
<?php if(!(tfc_getPref( 'dropdown'))){?>
<div class="form-group">
<label for="regionId"><?php _e('Ciudad', 'shopclass'); ?></label>
<?php tfcItemForm::region_select(osc_get_regions(),osc_user()) ; ?>
</div>

Thanks!

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Dropdown in post and edit php

Post by tuffadmin » Sat Aug 18, 2018 12:51 am

Did you changed setting in theme dashboard ?.
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

pureyes
Noob
Posts: 9
Joined: Fri Aug 10, 2018 1:01 am

Re: Dropdown in post and edit php

Post by pureyes » Mon Aug 20, 2018 7:49 pm

Sorry, my mistake. I had modified the files badly and I replaced them with a backup I had. Sorry for wasting your time.

Thank you for all!!

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Dropdown in post and edit php

Post by tuffadmin » Wed Aug 22, 2018 4:39 am

no worry
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

Post Reply