itstaff5
Forum Replies Created
-
Thank you. I’d already posted this issue in github.
By the way, here is one example of our product number where the zero at the end also disappear.
012.10
Forum: Fixing WordPress
In reply to: Having zero number as the first and last character in Product NumberWe are using Woocommerce plugin.
Hi @kbatdorf,
Thanks for the response.
I already have that code in place. Made the slider disappear but now, there’s already a huge white space between my search box and my product image. I am not sure if this is still the right place to get help, but if anyone can still give me some solution, that would be very greatful.
Here is my code for the argument.
elseif (is_singular('product')){ ?> <div class="header-inner header-about withoutsearch sdsa product_category"> <div class="metaslider" style="display: none !important;"> <div class="container"> <div class="search-box" style="top:20px !important;"> <?php echo do_shortcode('[wcas-search-form]');?> </div> </div> </div> </div> <?php }Anyone who could help me on this?
Here is the code that I’d worked so far, but this code, will put my search bar in the header.
<?php if (is_home() || is_front_page()) { ?> <?php } elseif (is_post_type_archive('product') || is_tax('product_cat')){ ?> <div class="header-inner header-about withoutsearch sdsa product_category"> <div> <?php echo do_shortcode('[metaslider id="8727"]'); ?> </div> <div class="container"> <div class="search-box" style="top:20px !important;"> <?php echo do_shortcode('[wcas-search-form]');?> </div> </div> </div> <?php } elseif (is_singular('product')){ ?> <div class="container"> <div class="search-box" style="top:20px !important;"> <?php echo do_shortcode('[wcas-search-form]');?> </div> </div> <?php } else { ?> <div class="hide_page"> <div class="header-inner header-about withoutsearch my_account"> <div> <?php echo do_shortcode('[metaslider id="8725"]'); ?> <?php echo do_shortcode('[metaslider id="8734"]'); ?> </div> </div> </div> <?php } ?>Thanks in advance!!!
By the way, here is the code I in our header.php. I am not sure what to edit so as to meet my client’s requirement.
<?php if (is_home() || is_front_page()) { ?>
<?php } elseif(is_post_type_archive(‘product’) || is_tax(‘product_cat’) || is_singular(‘product’)){ ?>
<div class=”header-inner header-about withoutsearch sdsa product_category”>
<div>
<?php echo do_shortcode(‘[metaslider id=”8727″]’); ?></div>
<div class=”container”>
<!–<h2><?php the_title(); ?></h2>–><div class=”search-box” style=”top:20px !important;”>
<!–<h3>Search product</h3>–>
<?php echo do_shortcode(‘[wcas-search-form]’);?>
</div>
</div><div class=”breadcrumb hidden”><!– ———————–Breadcrumb ———————- –>
<breadcrumb><?php custom_breadcrumbs(); ?></breadcrumb>
</div>
</div>
</div><?php } else { ?>
<div class=”hide_page”>
<div class=”header-inner header-about withoutsearch my_account”>
<div>
<?php echo do_shortcode(‘[metaslider id=”8725″]’); ?>
<?php echo do_shortcode(‘[metaslider id=”8734″]’); ?>
</div>
<!–<div class=”container”>–>
<!–<h2><?php the_title(); ?></h2>–><!–<div class=”breadcrumb hidden”>–><!– ———————–Breadcrumb ———————- –>
<!–<breadcrumb><?php custom_breadcrumbs(); ?></breadcrumb>
</div>
</div>–>
</div>
</div><?php } ?>
Thank you for your response.
Here is the link of my sample page.
https://superdolphin.com/product/bowl/If you go to that link, you will see the banner, search box and product details. Our client only wants to have the search box and product details only. Banner should only show on the web-shop page. Like in this link, https://superdolphin.com/web-shops/.