• hello,

    i’m using divi theme builder to set up my products pages. But when i add gift card product it doesn’t works properly. And i’m looking to find the shortcode of this gift card. Any idea xhere i could find this shortcode ?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,
    hope you are doing well! ??

    You can find the shortcode in this article from our Help Center.

    Could you check it and let us know if all is working fine?

    Have a nice day!

    I have the same problem with Divi theme – when using the Divi builder for the product pages, it breaks the giftcard product page ??

    I tried inserting the shortcode in the reply above, but it didn’t work.

    bryantraf

    (@bryantraf)

    Same issue here. I deactivated & reactivate the GC plugin. Tested in different themes and no luck. Other shortcodes are working fine in Divi

    Did anyone get an answer to this? The shortcode [yith_ywgc_display_gift_card_form] is working BUT!

    1. it’s not seeing my range of images to select from the only one showing is the featured image. The heading text ‘Choose your Image’ shows but then only the featured image shows underneath when I’ve got 4 images to pick from.

    2. I can’t stop the gift card form from showing above the rest of the page content.

    So I’ve got the gift card form showing twice, once above all the rest of the page content and the second time in the right place.

    How do I stop this? and how do I get it to see all my images?

    I’m using Divi for a client’s shop and I was able to work around this problem by using the default Woo product page for our Gift Card (gift-card) product category. It required a good amount of CSS styling to hide the sidebar and trying to get a decent-looking layout, and I’m still not finished with it.

    If you’re using the Divi Theme Builder, just exclude your gift card category from your product page layout. Then add the following to your child theme functions.php file in order to style the default Woo product page just for the gift-card category (in case you need to use the default Woo product page for some other reason):

    // add taxonomy term to body_class
    function woo_custom_taxonomy_in_body_class( $classes ){
    if( is_singular( ‘product’ ) )
    {
    $custom_terms = get_the_terms(0, ‘product_cat’);
    if ($custom_terms) {
    foreach ($custom_terms as $custom_term) {
    $classes[] = ‘product_cat_’ . $custom_term->slug;
    }
    }
    }
    return $classes;
    }
    add_filter( ‘body_class’, ‘woo_custom_taxonomy_in_body_class’ );

    So, for example, you can use the following in your child style.css file to get rid of the sidebar in the default Woo product page for the gift-card category:

    body.product_cat_gift-cards #sidebar {display: none !important;}

    These css items may also help, it just depends on your original layout:

    body.product_cat_gift-cards #left-area {width: 100% !important;}
    body.product_cat_gift-cards div.woocommerce-product-gallery {max-width: 400px;}

    I’m using a LOT more css to make it look right. It takes some effort, but you end up with a decent enough layout and you can see all of the form details, pricing buttons, etc.

    Good luck!

    p.s. Make sure you have accurate image category settings for each image you want to use as options.

    I need help,
    I have created an installation with wordpress and divi theme, I have added woocommerce and the plugin yith gift cards free version to try before buying the premium, I have created the product type “gift card” and it is not displayed on the divi page, and on the page of product gives design problems, this also happens with the premium version?
    Can you help me?

    I also have to purchase the yith booking appointment for woocommerce plugin and it does not have a version to test and of course, it is a lot of money to invest without knowing if it can work with divi, I imagine that if it will be compatible between yith plugins, I am waiting for your support, thanks`

    Xavier

    I was able to circumvent this problem without any code by creating the standard gift card product and then leaving that alone, then building a new page with the divi builder and adding the Woo Add to Cart module for the gift card. It is functioning correctly, in a page over which I have complete control.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Divi + gift card’ is closed to new replies.