Tagged: x
-
AuthorPosts
-
June 2, 2016 at 12:51 pm #1022639
DavidParticipantHi there X!
I would like to know the following:
– how can I make xtheme hide the price of variaties on the main product page?So if i now add a variable product, and add different prices for varieties for example €49 and €59, the main product page shows the price like this:
€49,00-€59,00
I would like it to only change into €59 when the €59 variant is selected through he drop-down.
Please advise me with a fix for this issue, many thanks!
June 2, 2016 at 12:52 pm #1022641
DavidParticipantThis reply has been marked as private.June 2, 2016 at 3:59 pm #1022956
JoaoModeratorHi David,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks
Joao
June 2, 2016 at 5:09 pm #1023053
DavidParticipantThis reply has been marked as private.June 3, 2016 at 12:48 am #1023653
RadModeratorHi there,
Please try implementing the recommended code here 🙂
https://community.theme.co/forums/topic/woo-commerce-tweaks/#post-139252
Then let us know how it goes 🙂
Thanks!
June 3, 2016 at 2:29 am #1023770
DavidParticipantJune 3, 2016 at 5:24 pm #1024826
RadModeratorHi there,
Please add this latest one,
jQuery ( function($) { var price_container = $( '.single-product .product-type-variable .entry-summary div[itemprop="offers"] .price' ); function change_price ( price ) { $( price_container ).empty(); $( price ).appendTo( price_container ); } var default_price = $( price_container).find( '.amount:first-child' ).clone(); if ( $(default_price).length > 0 ) { change_price ( default_price ); $('.variations select').on('change', function() { var new_price = $('.product-addon .single_variation > .price > .amount').clone(); if ( $( new_price ).length > 0 ) { change_price ( new_price ); } else { change_price ( default_price ); } } ); } } );Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1022639 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
