Home › Forums › WoodMart support forum › Variable Product with different prices
Variable Product with different prices
- This topic has 15 replies, 3 voices, and was last updated 5 years, 6 months ago by Artem Temos.
-
AuthorPosts
-
April 24, 2019 at 10:52 am #120698
WebKonstParticipantHello, I have some questions about Woo Commerce,
Variable Product with different prices if I choose a variable, the price does not change.
https://i.imgur.com/VhHXnjq.jpgmust show current price for this variable?
!! witch default, WordPress theme twentysixteen its work ok! problem is with WoodMart theme.
Please fix it
April 24, 2019 at 11:15 am #120702
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
April 28, 2019 at 1:00 pm #121291
WebKonstParticipantThanks, see Private Content
April 28, 2019 at 9:23 pm #121335
Elise NoromitMemberHello,
You have not disabled the plugins.
Please confirm the permit to deactivate all the plugins not related to the theme and switch the parent theme for the period of checking what may take up to 20 minutes.
Best Regards
April 29, 2019 at 8:43 am #121374
WebKonstParticipantYou can disable the plugins
April 30, 2019 at 6:45 am #121531
Artem TemosKeymasterIt seems to work correctly now https://gyazo.com/3e3137f9b0588878625caea465a54e82
May 8, 2019 at 10:02 am #122711
WebKonstParticipantHi,
yes seems to work correctly without plugin “WooCommerce Germanized”
but i thought your theme is fully compatible with the plugin?
Can you please checkThanks
May 8, 2019 at 11:12 am #122718
Artem TemosKeymasterWe see that it doesn’t work with other themes as well https://gyazo.com/4043c616778b83f24a9bdd61a2de9f61
May 8, 2019 at 11:27 am #122720
WebKonstParticipantworks, just a little different:
https://gyazo.com/d929d5d67f77dee33e49716f49cc16b1and with woodmart but whithout plugin
https://gyazo.com/c297bf44a26e4983aabfbd79a986ecdcand with woodmart and with plugin
https://gyazo.com/46f57cc4dd5402e1dd9e9b10bba0a1e9Help please.
May 8, 2019 at 12:17 pm #122731
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_products_nav() { $next = get_next_post(); $prev = get_previous_post(); $next = ( ! empty( $next ) ) ? wc_get_product( $next->ID ) : false; $prev = ( ! empty( $prev ) ) ? wc_get_product( $prev->ID ) : false; ?> <div class="woodmart-products-nav"> <?php if ( ! empty( $prev ) ): ?> <div class="product-btn product-prev"> <a href="<?php echo esc_url( $prev->get_permalink() ); ?>"><?php esc_html_e('Previous product', 'woodmart'); ?><span class="product-btn-icon"></span></a> <div class="wrapper-short"> <div class="product-short"> <div class="product-short-image"> <a href="<?php echo esc_url( $prev->get_permalink() ); ?>" class="product-thumb"> <?php echo apply_filters( 'woodmart_products_nav_image', $prev->get_image() );?> </a> </div> <div class="product-short-description"> <a href="<?php echo esc_url( $prev->get_permalink() ); ?>" class="product-title"> <?php echo esc_html( $prev->get_title() ); ?> </a> </div> </div> </div> </div> <?php endif ?> <?php woodmart_back_btn(); ?> <?php if ( ! empty( $next ) ): ?> <div class="product-btn product-next"> <a href="<?php echo esc_url( $next->get_permalink() ); ?>"><?php esc_html_e('Next product', 'woodmart'); ?><span class="product-btn-icon"></span></a> <div class="wrapper-short"> <div class="product-short"> <div class="product-short-image"> <a href="<?php echo esc_url( $next->get_permalink() ); ?>" class="product-thumb"> <?php echo apply_filters( 'woodmart_products_nav_image', $next->get_image() ); ?> </a> </div> <div class="product-short-description"> <a href="<?php echo esc_url( $next->get_permalink() ); ?>" class="product-title"> <?php echo esc_html( $next->get_title() ); ?> </a> </div> </div> </div> </div> <?php endif ?> </div> <?php }
May 9, 2019 at 11:08 am #122898
WebKonstParticipantIt`s Work. Thanks!
May 9, 2019 at 11:27 am #122900
Artem TemosKeymasterYou are welcome!
May 10, 2019 at 10:02 am #123053
WebKonstParticipantUpdate for topic: https://xtemos.com/forums/topic/variable-product-with-different-prices/
I have overlooked test was off plugin “Germanized for WooCommerce”
After activating same problem 🙁https://gyazo.com/0f4a745ba1788b0395f12e5296bc6be8
🙁 Please help
May 10, 2019 at 12:18 pm #123068
Artem TemosKeymasterHello,
Have you added the code to the child theme functions.php file and activated it?
Regards
May 10, 2019 at 12:21 pm #123069
WebKonstParticipantsorry … it was main theme enabled ..
after I activated child-theme everything was ok.
Thanks againMay 10, 2019 at 12:23 pm #123070
Artem TemosKeymasterYou are always welcome 🙂
-
AuthorPosts
The topic ‘Variable Product with different prices’ is closed to new replies.
- You must be logged in to create new topics. Login / Register