In variable product page i dont want to show the price xxxxx-xxxxx . how can i hide it?
i have highlighted the price which needs to be hidden
This topic has 12 replies, 2 voices, and was last updated 2 weeks, 5 days ago ago by Luca Rossi
In variable product page i dont want to show the price xxxxx-xxxxx . how can i hide it?
i have highlighted the price which needs to be hidden
Hi @ubansal,
Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:
.product-type-variable .product-information .fixed-content > p.price {
display: none !important;
}
Kind regards,
The 8Theme Team
in sale timer i want to hide days box. how can i do it?
https://sazunajewellers.com/?product_cat=0&s=necklace&post_type=product&et_search=true
https://sazunajewellers.com/product-category/rings/diamondrings/
ALSO THE SALE COUNTER SHOWS ON SIMPLE PRODUCT BUT NOT IN VARIABLE PRODUCT ON SEARCH .
AS U CAN SEE IN LINK 1 THE VARIABLE PRODUCTS DONT HAVE SALE COUNTER WHEREAS ON LINK 2 IT HAS SALE COUNTER (ON SIMPLE PRODUCTS)
pls reply
Dear @ubansal,
We hope you are doing well.
Please note that the sale countdown will not be displayed on product archive pages, as each variation has its own sale price and date. However, on the single product page, the sale countdown will appear once a variation is selected.
For reference, please see the following screenshots:
– (https://prnt.sc/icYYKpFzJPVz)
– (https://prnt.sc/TAiMsOsiROYS)
We hope this explanation clarifies your concern. Please feel free to reach out if you need any further assistance.
Best regards,
8Theme Team
in sale timer i want to hide days box. how can i do it?,,, pls reply on this aswell
Hi @ubansal,
Please add the following code under functions.php file locates in your child theme:
add_action('wp_footer', 'n2t_wp_footer', 999);
function n2t_wp_footer(){
?>
<script>
jQuery( function($){
$(document).ready(function(){
$('span.days.timer-count').parent().remove();
})
});
</script>
<?php
}
Hope it helps!
i want the sale counter to be on in all products . currently i have to manually goto edit product and turn on sale countdown but i want it to be activated on all products by default
Hi @ubansal,
We highly encourage you to share your suggestion on our Taskboard at https://www.8theme.com/taskboard/. If your idea garners sufficient support from other customers, our development team will carefully evaluate the possibility of including it in a future update.
For any additional customizations beyond the default functionalities, we kindly invite you to submit a request through our Customization Panel at https://www.8theme.com/account/#etheme_customization_panel. Please note that customization services are subject to additional charges.
Should you have any further questions or require assistance, please do not hesitate to contact us.
Best Regards,
8Theme’s Team
its again showing days tab pls help me fix it. i dont want to show days there
Hi @ubansal,
We’ve changed the custom codes to this:
add_action('wp_footer', 'n2t_wp_footer', 999);
function n2t_wp_footer(){
?>
<script>
jQuery( function($){
$(document).ready(function(){
$('span.days.timer-count').parent().remove();
});
var target = document.querySelector('.products-loop .ajax-content');
// Create an observer instance.
var observer = new MutationObserver(function(mutations) {
$('span.days.timer-count').parent().remove();
});
// Pass in the target node, as well as the observer options.
observer.observe(target, {
attributes: true,
childList: true,
characterData: true
});
});
</script>
<?php
}
Now the day timer is removed.
Can you check again?
Thank you!
You must be logged in to reply to this topic.Log in/Sign up