Implemented
Lock order design after payment
Hi,
A very obvious feature thus plugin should have fory opinion, option to lock the entire order for design after payment.
This feature is requested because, if you add the download button after payment and you don't want the client to continue designing the customized product he paid for and then keep downloading the new designed product, this is unacceptable.
Thank you in advance.
You can do that with some custom CSS:
Hide product designer:
or disable pointer events:
Hi
Any update on this? I have same issue.
Eoin
Hello, would love to see that option too. Any news please?
You can modify the CSS by applying the pointer-events only to the .fpd-product-stage:
HI Danny,
i'm using FPD with Woocommerce, i had the same issue and found a way to do that.
In the file : fpd/woo/class-wc-product.php
I edit the lines 225 > 247 with this code :
if( $order && $order->is_paid() ) {
FPD_Frontend_Product::$remove_watermark = true;
if( $product->is_downloadable() ) :
$dlbutton = do_shortcode( '[fpd_action type="download" layout="icon-text"]' );
?>
<style>.fpd-product-designer-wrapper{display:none !important; visibility: hidden !important;}; </style>
<span id="fpd-extern-download-png" class="fpd-blue-btn" style="display: inline-block; margin: 10px 10px 10px 0;color: #fff;"><?php echo $dlbutton; ?></span>
<?php
endif;
}
else {
FPD_Frontend_Product::$remove_watermark = false;
}
$allowed_edit_status = array(
'pending'
);
Hope this helps ;)
Olivia