It would be very usefull for the customer if he sees a thumb of his personalized products during the checkout process. Right now he only sees the product image.
I have the same problem. Not changing product image after design is done and not changing image in cart... Thank you for answer.
K
Kasper
said
about 8 years ago
I am not sure if i am doing this right but the cart page stays empty with the theme i am using but also the 2014 and 2015 themes...
K
Kasper
said
about 8 years ago
When i do that my cart page stays empty (white)
rady kal
said
about 8 years ago
For those who do not want for the update, here is a quick fix.
1. Open inc/class-cart.php
2. Replace the change_cart_item_thumbnail with this code:
public function change_cart_item_thumbnail( $thumbnail, $cart_item=null ) {
if( !is_null($cart_item) && isset($cart_item['fpd_data']) ) {
$fpd_data = $cart_item['fpd_data'];
//check if data contains the fancy product thumbnail
if ( isset($fpd_data['fpd_product_thumbnail']) && $fpd_data['fpd_product_thumbnail']) {
$dom = new DOMDocument;
libxml_use_internal_errors(true);
$dom->loadHTML( $thumbnail );
$xpath = new DOMXPath( $dom );
libxml_clear_errors();
$doc = $dom->getElementsByTagName("img")->item(0);
$src = $xpath->query(".//@src");
$srcset = $xpath->query(".//@srcset");
$src[0]->nodeValue = $fpd_data['fpd_product_thumbnail'];
$srcset[0]->nodeValue = $fpd_data['fpd_product_thumbnail'];
return $dom->saveXML( $doc );
}
}
return $thumbnail;
}
R
Raúl
said
about 8 years ago
Thanks for the job, man. Waiting for the update, certainlyit is a veryimportant feature...
T
Thierry Rey
said
about 8 years ago
Hey! Thanks for the update on this.
Do you already have an idea when the update is coming?
I'm working on a prototype for a client and He's asking for a preview in the cart, so the customer is sure have to correct product.
Thanks and have a great day!
T
Thomas Albrecht
said
about 8 years ago
Great! Looking forward for the update.
rady kal
said
about 8 years ago
Answer
I notice that its not working anymore in my demo site as well. I will fix that with the next update.
T
Thomas Albrecht
said
about 8 years ago
Thank's Raúl, that tweak also works for me now. Unfortunately there is no product photo anymore.
R
Raúl
said
about 8 years ago
Solved in my case. Need to remove image product. When I was inspecting the thumbnail under firebug, I seen that img sorce was the designed product, but thumbail still original image product!!! When I removed that product image, then show the fancy image :/
R
Raúl
said
about 8 years ago
I have the same issue with DW Store from Designwall, but all hooks are
ok in debug mode with Fancy plugin. Not changing product image after design is done and not
changing image in cart...
I switched on the debug mode and got the message that the woocommerce_cart_item_thumbnail Filter is missing. That's strange because I find this filter in the cart.php of my theme. The theme is the canvas theme from woothemes so it should be compatible to the woocommerce guidlines.
What can I do?
T
Thomas Albrecht
said
about 8 years ago
Can you name the missing hook so I can contact the theme developer?
rady kal
said
about 8 years ago
Thats already included, if your theme does not display the correct thumbnail, then the required WooCommerce hook is missing in your theme.
Thomas Albrecht
It would be very usefull for the customer if he sees a thumb of his personalized products during the checkout process. Right now he only sees the product image.
I notice that its not working anymore in my demo site as well. I will fix that with the next update.
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstSTELIAN CORBUT
I have the same problem. Not changing product image after design is done and not changing image in cart... Thank you for answer.
Kasper
I am not sure if i am doing this right but the cart page stays empty with the theme i am using but also the 2014 and 2015 themes...
Kasper
When i do that my cart page stays empty (white)
rady kal
For those who do not want for the update, here is a quick fix.
1. Open inc/class-cart.php
2. Replace the change_cart_item_thumbnail with this code:
Raúl
Thanks for the job, man. Waiting for the update, certainly it is a very important feature...
Thierry Rey
Hey! Thanks for the update on this.
Do you already have an idea when the update is coming?
I'm working on a prototype for a client and He's asking for a preview in the cart, so the customer is sure have to correct product.
Thanks and have a great day!
Thomas Albrecht
Great! Looking forward for the update.
rady kal
I notice that its not working anymore in my demo site as well. I will fix that with the next update.
Thomas Albrecht
Thank's Raúl, that tweak also works for me now. Unfortunately there is no product photo anymore.
Raúl
Solved in my case. Need to remove image product. When I was inspecting the thumbnail under firebug, I seen that img sorce was the designed product, but thumbail still original image product!!! When I removed that product image, then show the fancy image :/
Raúl
This is the link
Thomas Albrecht
Hey Rafael,
I switched on the debug mode and got the message that the woocommerce_cart_item_thumbnail Filter is missing. That's strange because I find this filter in the cart.php of my theme. The theme is the canvas theme from woothemes so it should be compatible to the woocommerce guidlines.
What can I do?
Thomas Albrecht
Can you name the missing hook so I can contact the theme developer?
rady kal
Thats already included, if your theme does not display the correct thumbnail, then the required WooCommerce hook is missing in your theme.
-
Adding Fancy Products to Categories
-
Shortcode for specfic product designer
-
What theme is recommended to use with FPD ?
-
Exclude Image from export
-
Google Font Family adds extras
-
Floating Dialog box
-
Uploadzone not working
-
Image transparency like in T-shirt demo
-
How do I get clipart
-
What does the LOAD button do / what is it for?
See all 2204 topics