*

Redis

  • **
  • 27 posts
Disable region
« on: June 04, 2023, 05:54:52 AM »
Hi,

I want to remove regions in item. I want to show only cities and maybe country.This code is only for item in search page and item page:
Could you help me to change that code:
Code: [Select]
<div class="extra isList">
        <?php if(del_item_location(falsetrue) <> '') { ?>
          <span class="location"><i class="fas fa-map-marked-alt"></i> <?php echo __('Located:''delta'); ?> <strong><?php echo del_item_location(falsetrue); ?></strong></span>
        <?php ?>

https://prnt.sc/dq-vM1G8_rY8


also i need to disable contact seller on item page too, but i cant find the code location:
Code: [Select]
<div id="item-summary" class="isMobile c3 shown __web-inspector-hide-shortcut__" style="display: block; bottom: 8px; opacity: 1;">
https://prnt.sc/lMf0WgquDUxF

Thanks for your priceless help :)

*

Redis

  • **
  • 27 posts
Re: Disable region
« Reply #1 on: June 09, 2023, 01:17:17 PM »
any help on this topic please

*

MB Themes

Re: Disable region
« Reply #2 on: June 10, 2023, 11:33:37 AM »
In delta location use functions (functions.php)

Just search for osc_item_region() function.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots