Tagged: x
-
AuthorPosts
-
August 18, 2016 at 3:18 pm #1137425
zencrackerParticipantHello. 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!!!
August 18, 2016 at 4:48 pm #1137537
DarshanaModeratorHi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
August 18, 2016 at 6:27 pm #1137602
zencrackerParticipantThis reply has been marked as private.August 19, 2016 at 12:01 am #1137942
LelyModeratorHello 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.
August 19, 2016 at 9:41 am #1138351
zencrackerParticipantHello. 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?
August 19, 2016 at 9:56 am #1138364
zencrackerParticipantOne 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.
August 19, 2016 at 10:20 am #1138388
zencrackerParticipantAdditionally, I downgraded to a version of Woocommerce to test, and the problem still persists.
August 19, 2016 at 2:28 pm #1138634
zencrackerParticipantHello 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!
August 19, 2016 at 4:26 pm #1138744
RadModeratorHi 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!
August 19, 2016 at 6:59 pm #1138865
zencrackerParticipantOkay – I’m giving that a try right now! Let’s see….
August 19, 2016 at 7:16 pm #1138878
zencrackerParticipantHello – 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?
August 19, 2016 at 7:20 pm #1138882
zencrackerParticipantHere’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( ‘‘, wc_placeholder_img_src(), __( ‘Placeholder’, ‘__x__’ ) ), $post->ID ); // 03
}do_action( ‘woocommerce_product_thumbnails’ );
?>
</div>August 19, 2016 at 7:22 pm #1138884
zencrackerParticipantThis is line 28:
$props = wc_get_product_attachment_props( get_post_thumbnail_id(), $post );August 19, 2016 at 8:08 pm #1139000
zencrackerParticipantHello! 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!!!
August 19, 2016 at 11:34 pm #1139170
Rue NelModeratorHello 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1137425 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
