New Landing How can we help? Atelier figcaption sometimes shows, sometimes don't

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #197582
    michaeljh
    Member
    Post count: 17

    When I hover the mouse on the related products, sometimes the figcaption shows sometimes it’s not there. Why is this??

    See <figcaption> in the attached two snapshots of two product pages and the chrome inspector. One has the data, the other one is empty.

    Attachments:
    You must be logged in to view attached files.
    #197593
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Is it consistent always in the same products? if so can be something in the product content.
    Can you also try to disable all plugins except Woocommerce and SwiftFramework to discard any plugin conflict?

    Thanks

    -Rui

    #197605
    michaeljh
    Member
    Post count: 17

    It looks like a bug. I noticed that the figcaption only happens for products that have up-sells setup.

    Also, is there another way to change how the up-sell products look? Currently it seems to be only available from the “+” and it only shows one product.

    #197606
    michaeljh
    Member
    Post count: 17

    I deactivated all plugins except for swift and woocommerce and the issue is still there.

    #197607
    michaeljh
    Member
    Post count: 17

    This is the code in the theme’s woocommerce/content-product.php that display <figcaption>

    I can see that this product’s display type is “gallery”. Why is that?? Where is this setting???

    <div><?php echo $product_display_type; ?></div>

    <?php if ($product_display_type != “standard”) { ?>
    <figcaption>
    <div class=”thumb-info”>
    <?php do_action( ‘woocommerce_before_shop_loop_item_title’ ); ?>
    <h4><?php the_title(); ?></h4>
    <?php
    $size = sizeof( get_the_terms( $post->ID, ‘product_cat’ ) );
    echo $product->get_categories( ‘, ‘, ‘<h5 class=”posted_in”>’, ‘</h5>’ );
    ?>
    <?php if ( class_exists( ‘Woocommerce_German_Market’ ) ) { ?>
    <div class=”gm-hover-price-wrap”>
    <?php
    /**
    * woocommerce_after_shop_loop_item_title hook
    *
    * @hooked woocommerce_template_loop_price – 10
    */
    do_action( ‘woocommerce_after_shop_loop_item_title’ );
    ?>
    </div>
    <?php } else { ?>
    <h6><?php woocommerce_template_loop_price(); ?></h6>
    <?php } ?>
    </div>
    </figcaption>

    #198203
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide us a url to a cross sell product? And also admin credentials in a private reply.
    thanks

    -Rui

Viewing 6 posts - 1 through 6 (of 6 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