Attributes photos not loading
-
Hi I have had this same issue 6 months before and posted on the forum.
The issue is that photos attached to a variable product will not load when the colour attribute drop down is selected. So The featured image photo stays on the page instead of the attribute selected photo. Would appreciate any help.
http://www.kasaba.com.au
Thanks very much
Jane
-
Hi again, just to clarify. This problem has only just started again – after the last fix about 6 months ago. (from Jigoshop support).
Thanks πMy system info is:
### WordPress Environment ###
Home URL: https://kasaba.com.au
Site URL: https://kasaba.com.au
Jigoshop Version: 1.17.15
Jigoshop Database Version: 1503180
Log Directory Writable: β To allow logging
make /home/kasabac5/public_html/wp-content/uploads/jigoshop-logs/ writable or define a custom JIGOSHOP_LOG_DIR.WP Version: 4.5.3
WP Multisite: β
WP Memory Limit: 40 MB – We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: β
Language: en_AU### Server Environment ###
Server Info: Apache
PHP Version: 5.6.22
PHP Post Max Size: 64 MB
PHP Time Limit: 0
PHP Max Input Vars: 1000
SUHOSIN Installed: β
MySQL Version: 5.6.30
eAccelerator: β
APC: β
OpCache: β
Short Open Tag:
Allow URL fopen: β
Session:
Cookie Path: /
Save Path:
Use Cookies:
Use Only Cookies:
Max Upload Size: 64 MB
Default Timezone is UTC:
fsockopen/cURL:
SoapClient:
Remote Post:
Remote Get:### Server Locale ###
decimal_point: .
thousands_sep: N/A
mon_decimal_point: N/A
mon_thousands_sep: N/A### Active Plugins (18) ###
Akismet: by Automattic β 3.1.11
BackUpWordPress: by Human Made Limited β 3.6.1
Contact Form by BestWebSoft: by BestWebSoft β 3.97
Canvas Extension – Menu Pack: by PootlePress β 1.3
Jetpack by WordPress.com: by Automattic β 4.0.3
Jigoshop Basic Bundle Shipping: by polevaultweb β 1.0.2
Jigoshop Easy Print Button: by Jigoshop β 2.0
Jigoshop Stripe Extension: by Jigoshop β 2.0
Jigoshop Stripe Gateway: by Jigoshop β 1.4.1
Jigoshop: by Jigoshop Limited β 1.17.15
Optin Forms: by Boris Beo β 1.1.8
WooDojo: by WooThemes β 1.5.4
WooThemes Helper: by WooThemes β 1.3.0
Yoast SEO: by Team Yoast β 3.3.1
WP Google Maps: by WP Google Maps β 6.3.10
WP Menu Cart: by Jeremiah Prummer
Ewout Fernhout β 2.5.7xili re/un-attach media: by dev.xiligroup – MSC β 1.0.1
Zopim Widget: by Zopim β 1.4.3### Settings ###
Taxes Enabled: β
Shipping Enabled:
Force SSL:
Currency: AUD ($)
Currency Position: right_code_space
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### Jigoshop Pages ###
Shop Base: #3688 – /shop/
Cart: #3690 – /cart/
Checkout: #3699 – /checkout/
Pay: #3701 – /checkout/pay/
Thanks: #3702 – /checkout/thanks/
My Account: #3694 – /my-account/
Edit Address: #3696 – /my-account/edit-address/
View Order: #3698 – /my-account/view-order/
Change Password: #3697 – /my-account/change-password/
Track Order: #3692 – /order-tracking/
Terms: #1939 – /terms-conditions/### Taxonomies ###
Product Types: configurable (configurable)
downloadable (downloadable)
external (external)
grouped (grouped)
simple (simple)
variable (variable)
virtual (virtual)### Theme ###
Name: Canvas
Version: 5.10.0
Author URL: http://www.woothemes.com/
Child Theme: β β If you’re modifying Jigoshop or a parent theme you didn’t build personally we recommend using a child theme. See: How to create a child theme
Jigoshop Support: Not Declared### Templates ###
Overrides: canvas V.5.10 /index.php
Have you tried applying the method posted on the forums?
add_action('jigoshop_before_single_product_summary','thumbnail_fix'); function thumbnail_fix() { echo'<script>jQuery(document).ready(function($){$(\'body\').find(\'img.wp-post-image\').attr("srcset","");}); </script>'; }This one in your functions.php, to be exact?
Hi thanks for your replies. Are you asking if the following is in my functions.php ro should i add it ?
add_action(‘jigoshop_before_single_product_summary’,’thumbnail_fix’);
function thumbnail_fix()
{
echo'<script>jQuery(document).ready(function($){$(\’body\’).find(\’img.wp-post-image\’).attr(“srcset”,””);});
</script>’;
}Thanks again
Hi Marcin, I have added that code to my functions.php and there is still no change.
There is only only product where the attributes are showing: http://kasaba.com.au/shop/product/all-products/turkish-bath-towel-2/All the other variable products do not show attributes.
Thanks, Jane.
Done π
Thanks you so very much Marcin …really appreciate your support. Can I ask how you fixed it just so I try this next time if it happens again ?
JaneJust added the script in the right place π
The topic ‘Attributes photos not loading’ is closed to new replies.