Lightbox issue for gift card design
Sometimes it happens that you do not open the lightbox that allows users to choose the design of the gift card.
This happens because some component of the site makes a dequeue of pretty photo.
Just add this code in the functions.php file of your theme
if( defined('YITH_YWGC_PREMIUM') ){
add_action('wp_enqueue_scripts','yith_wcgc_enqueue_pretty_photo',999);
function yith_wcgc_enqueue_pretty_photo(){
wp_enqueue_script('prettyPhoto');
wp_enqueue_style('woocommerce_prettyPhoto_css');
}
}