radykal | Support Center Chooser

For which product do you need support?

Fancy Product Designer Multistep Product Configurator Another

Start a new topic
Answered

Show preview before add to cart

 Hi there,


Our client wants to display the designed product before add to cart performed ie to view the preview of designed product in product detail page like the screenshot attached. Is that possible?


jpg
(182 KB)

Best Answer

 Hi,


variable.php =>Check line no 121

class-frontend-product.php => Check line no 334 to 341

php
php
(7.44 KB)

1 person has this question

Hi,


So nobody need preview ?...

Hello RINVIL,

I need preview option. I also added separate feature request 1 Month ago. But nobody has replied for my request.

Thanks,
Sushant

 

Hi Sushant,


While waiting for an answer, i do this : 
put  
<img src="<?php echo $_POST['fpd_product_thumbnail']; ?>" />

 in the  "woocommerce/templates/notices/sucess.php" file.


When the user add to the cart the product, he'll see the preview in the sucess box..


It's the only thing i found till now.


Best regards,

RINVIL Jean

Login or Signup to post a comment