Hide variable price xxxxx-xxxxx ………….

This topic has 12 replies, 2 voices, and was last updated 2 weeks, 5 days ago ago by Luca Rossi

  • Avatar: ubansal
    ubansal
    Participant
    March 17, 2025 at 08:54

    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

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    11 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    March 17, 2025 at 10:39

    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;
    }
    

    https://prnt.sc/uyKNSoa5gyod

    Kind regards,
    The 8Theme Team

    Avatar: ubansal
    ubansal
    Participant
    March 17, 2025 at 11:55

    in sale timer i want to hide days box. how can i do it?

    Files is visible for topic creator and
    support staff only.
    Avatar: ubansal
    ubansal
    Participant
    March 17, 2025 at 12:42

    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)

    Avatar: ubansal
    ubansal
    Participant
    March 18, 2025 at 09:39

    pls reply

    Avatar: Justin
    Luca Rossi
    Support staff
    March 18, 2025 at 10:18

    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

    Avatar: ubansal
    ubansal
    Participant
    March 18, 2025 at 17:33

    in sale timer i want to hide days box. how can i do it?,,, pls reply on this aswell

    Avatar: Justin
    Luca Rossi
    Support staff
    March 19, 2025 at 05:35

    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!

    Avatar: ubansal
    ubansal
    Participant
    March 20, 2025 at 06:50

    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

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 20, 2025 at 09:10

    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

    Avatar: ubansal
    ubansal
    Participant
    April 4, 2025 at 22:03

    its again showing days tab pls help me fix it. i dont want to show days there

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 5, 2025 at 07:39

    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!

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.