• Resolved anand99

    (@anand99)


    need to hide price range in variation in single product page, without hiding the same in the related products container in the same page also without hiding the same in the search results

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    To clarify, were you looking to hide the whole price range (so no price is shown on the Single Product page)? Or just the lower end of the range? Or higher end?

    Taking the example of $2.99 - $9.99, what would you want it to display?

    Thank you!

    Thread Starter anand99

    (@anand99)

    I have already hidden “” $2.99 – $9.99 “”,,now it is “” starts from $2.99 “” but I would like to hide “” starts from $2.99 “” in single product page because the variation price is already shown below,,, but when I try to hide “” starts from $2.99 “” in single product page, it gets hidden from all other places like the “” starts from $2.99″” in related products container and also from search results
    Refer https://www.jackbite.com/product/quaker-oats/

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    I see! Thank you for providing the URL and the further explanation of what you are trying to do.

    Please try the following CSS to see if it will do what you want:

    
    .single-product .entry-summary .product_title + .price {
      display: none;
    }
    

    It looks like it should hide the price on the product page, but not on the related products or the Search results.

    I hope that helps! Have a wonderful day!

    Thread Starter anand99

    (@anand99)

    Your code is ok to some extent but it also hides the price of simple products I have updated your code in my site please have a look
    https://www.jackbite.com/product/eastern-rice-powder-5-kg. It is a simple product

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Good point! I forgot about other product types. Please change it to the following to ensure it only applies to Variable products:

    
    .single-product .product-type-variable .entry-summary .product_title + .price {
        display: none;
    }
    

    I hope that helps!

    Thread Starter anand99

    (@anand99)

    Thanks for your help ,code works, I have few other doubt like how to create a third column and move add to cart and pin code check to the third column adjacent to short description in desktop only just like in Amazon,,
    Should I open a new topic for this

    • This reply was modified 4 years, 11 months ago by anand99.
    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @anand99,

    I’m glad to hear the CSS worked to hide those variable prices! ??

    > I have few other doubt like how to create a third column and move add to cart and pin code check to the third column adjacent to short description in desktop only just like in Amazon,,

    These sorts of layout changes, and adding extra columns would be more theme-related, rather than something related to the core WooCommerce plugin — the theme controls the layout, design, etc. I see you are currently using the WP Ocean theme on your site, so I would recommend reaching out to their team to ask about this. Their support should be available here: https://oceanwp.org/support/

    I hope that helps! Have a wonderful day!

    Thread Starter anand99

    (@anand99)

    Ok,
    Need variation buttons in shop page product container and in related, upsell,cross cell container along with update quantity and change select options to add to cart,,, so that a customer need not enter the single product page to add variable product to cart

    • This reply was modified 4 years, 11 months ago by anand99.
    Thread Starter anand99

    (@anand99)

    .single-product .product-type-variable .entry-summary .product_title + .price {
    display: none;
    }

    The code worked earlier but now it is not working

    Thread Starter anand99

    (@anand99)

    It is not working in certain pages but works in other pages
    https://www.jackbite.com/product/quaker-oats/
    https://www.jackbite.com/product/lays-classic-salted/

    I have cleared all caches

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘need to hide price range in variation’ is closed to new replies.