Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1137425
    zencracker
    Participant

    Hello. I’m using the Icon theme and setting up the Woocommerce shop. The customizer settings won’t change the product display. There’s one huge column and product image. And one huge column and product images on related products. It just won’t stick to show a grid of products. Can someone help? Many thanks!!!

    #1137537
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1137602
    zencracker
    Participant
    This reply has been marked as private.
    #1137942
    Lely
    Moderator

    Hello There,

    Thank you for the credentials.
    Currently, you do have 56 active plugins. You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Do let us know how this goes.

    #1138351
    zencracker
    Participant

    Hello. Thank you for your response. I deactivated all the plugins to check and this did not solve the problem. The customizer is still not saving to reflect a four-column product display. It doesn’t appear to be a plugin conflict. Could someone help please?

    #1138364
    zencracker
    Participant

    One other thing: I notice without any plugins that Woocommerce doesn’t have an option for HOW to display the products. Neither does it have image sizes (that’s gone) or how many products per row/column. This is only happening with the X-Theme.

    #1138388
    zencracker
    Participant

    Additionally, I downgraded to a version of Woocommerce to test, and the problem still persists.

    #1138634
    zencracker
    Participant

    Hello again – still an ongoing problem with the customizer not saving Woocommcerce settings. If anyone else had this problem and resolved it, could you tell me the steps taken? Appreciate any help!

    #1138744
    Rad
    Moderator

    Hi there,

    Customizer is saving okay, but Woocommerce setting is ignored by the templates. I like to see you current templates, but your provided FTP is pointing to an empty folder. Please check and let me know.

    For the meantime, please try deleting /woocommerce/ folder from your theme and child theme. Then upload the latest /woocommerce/ folder extract from the zip X theme package downloaded from Themeforest.

    Thanks!

    #1138865
    zencracker
    Participant

    Okay – I’m giving that a try right now! Let’s see….

    #1138878
    zencracker
    Participant

    Hello – I upload the Woocommerce folder supplied in X-theme to the theme folder in wordpress. Now I’m able to change the products per row, etc. BUT receive this error when I click on a product:

    Fatal error: Call to undefined function wc_get_product_attachment_props() in /home1/folder123/public_html/wordpress/wp-content/themes/x/woocommerce/single-product/product-image.php on line 28

    What could this mean?

    #1138882
    zencracker
    Participant

    Here’s the relevant code:

    `<div class=”images”>
    <?php
    woocommerce_show_product_sale_flash(); // 01
    if ( has_post_thumbnail() ) {
    $attachment_count = count( $product->get_gallery_attachment_ids() );
    $gallery = $attachment_count > 0 ? ‘[product-gallery]’ : ”;
    $props = wc_get_product_attachment_props( get_post_thumbnail_id(), $post );
    $image = get_the_post_thumbnail( $post->ID, apply_filters( ‘single_product_large_thumbnail_size’, ‘shop_single’ ), array(
    ‘title’ => $props[‘title’],
    ‘alt’ => $props[‘alt’],
    ) );
    echo apply_filters(
    ‘woocommerce_single_product_image_html’,
    sprintf(
    %s‘, // 02
    esc_url( $props[‘url’] ),
    esc_attr( $props[‘caption’] ),
    $gallery,
    $image
    ),
    $post->ID
    );
    } else {
    echo apply_filters( ‘woocommerce_single_product_image_html’, sprintf( ‘%s‘, wc_placeholder_img_src(), __( ‘Placeholder’, ‘__x__’ ) ), $post->ID ); // 03
    }

    do_action( ‘woocommerce_product_thumbnails’ );
    ?>
    </div>

    #1138884
    zencracker
    Participant

    This is line 28:
    $props = wc_get_product_attachment_props( get_post_thumbnail_id(), $post );

    #1139000
    zencracker
    Participant

    Hello! I think I’ve solved this and the pages load properly and the columns are fine. What I can’t seem to find (sorry for another request) is how to create a sidebar menu on the product main shop page. Could you offer a little assistance. 🙂 Using Icon theme. Thank you!!!

    #1139170
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! Glad you were able to resolve the issue. To insert sidebar in your shop page, please make sure that you haven’t set it to fullwidth. Please go to the customizer, Appearance > Customize > WooCommerce > Shop and set the “Shop Layout” to “Use Global Content Layout”. This should enable you from adding a custom menu widget in Appearance > Widgets in the main sidebar widget area. To know more about widgets, please check it out here: https://community.theme.co/kb/wordpress-adding-widgets/

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1137425 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>