Home Forums WoodMart support forum Variable Product with different prices

Variable Product with different prices

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #120698

    WebKonst
    Participant

    Hello, 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.jpg

    must show current price for this variable?

    !! witch default, WordPress theme twentysixteen its work ok! problem is with WoodMart theme.

    Please fix it

    #120702

    Artem Temos
    Keymaster

    Hello,

    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

    #121291

    WebKonst
    Participant

    Thanks, see Private Content

    #121335

    Hello,

    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

    #121374

    WebKonst
    Participant

    You can disable the plugins

    #121531

    Artem Temos
    Keymaster
    #122711

    WebKonst
    Participant

    Hi,
    yes seems to work correctly without plugin “WooCommerce Germanized”
    but i thought your theme is fully compatible with the plugin?
    Can you please check

    Thanks

    #122718

    Artem Temos
    Keymaster

    We see that it doesn’t work with other themes as well https://gyazo.com/4043c616778b83f24a9bdd61a2de9f61

    #122720

    WebKonst
    Participant

    works, just a little different:
    https://gyazo.com/d929d5d67f77dee33e49716f49cc16b1

    and with woodmart but whithout plugin
    https://gyazo.com/c297bf44a26e4983aabfbd79a986ecdc

    and with woodmart and with plugin
    https://gyazo.com/46f57cc4dd5402e1dd9e9b10bba0a1e9

    Help please.

    #122731

    Artem Temos
    Keymaster

    Try 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
    	}
    #122898

    WebKonst
    Participant

    It`s Work. Thanks!

    #122900

    Artem Temos
    Keymaster

    You are welcome!

    #123053

    WebKonst
    Participant

    Update 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

    #123068

    Artem Temos
    Keymaster

    Hello,

    Have you added the code to the child theme functions.php file and activated it?

    Regards

    #123069

    WebKonst
    Participant

    sorry … it was main theme enabled ..
    after I activated child-theme everything was ok.
    Thanks again

    #123070

    Artem Temos
    Keymaster

    You are always welcome 🙂

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘Variable Product with different prices’ is closed to new replies.