New Landing How can we help? Atelier Product variations

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Atelier
  • #260889
    ufkonto
    Member
    Post count: 14

    Hi!

    I’ve created some variations and attributes to the products. So my first problem is that i only want to showcase one product per product post at the first page (i’m using the preview slider-effect), i simply don’t want the slider effect. Only one image, the lowest priced-image as it is. (I’ve attached a file – customer service-1.png).With the lowest price. Pretty much as it is now except the slider-effect.

    I hope you guys understand what i mean, my english isn’t the best.

    Best regards,

    Marcus,

    Attachments:
    You must be logged in to view attached files.
    #260908
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Just edit the products element and change ‘Preview Slider’ to ‘Standard’

    – Kyle

    #260920
    ufkonto
    Member
    Post count: 14
    This reply has been marked as private.
    #260921
    ufkonto
    Member
    Post count: 14
    This reply has been marked as private.
    #260922
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    If you don’t want sliding images then just set a featured image, rather than an image for each variation

    For the price add this to your child theme’s functions.php file:

        // Use WC 2.0 variable price format
    add_filter( 'woocommerce_variable_sale_price_html', 'wc_wc20_variation_price_format', 10, 2 );
    add_filter( 'woocommerce_variable_price_html', 'wc_wc20_variation_price_format', 10, 2 );
    function wc_wc20_variation_price_format( $price, $product ) {
    $min_price = $product->get_variation_price( 'min', true );
    $max_price = $product->get_variation_price( 'max', true );
    if ($min_price != $max_price){
    $price = sprintf( __( 'From %1$s', 'woocommerce' ), wc_price( $min_price ) );
    return $price;
    } else {
    $price = sprintf( __( '%1$s', 'woocommerce' ), wc_price( $min_price ) );
    return $price;
    }
    }

    For the product images you need to use the regenerate thumbnails plugin if you’re changed the image settings

    – Kyle

    #260923
    ufkonto
    Member
    Post count: 14
    This reply has been marked as private.
    #260924
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #291542
    pdawo
    Member
    Post count: 1

    … Just a big Thanxalot for the price-hack! 😉
    Phil

    #291545
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem!

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register