Problem with webtoffee woocommerce gift card

This topic has 2 replies, 2 voices, and was last updated 4 months, 2 weeks ago ago by Rose Tyler

  • Avatar: Fernando
    Fernando
    Participant
    July 30, 2024 at 21:59

    Hi there team
    I am facing a huge problem.
    The website needs the function to give this product as a gift.
    I have purchased the webtoffee woocommerce gift card plugin.
    But I am having trouble getting it to work.
    I spoke to their support, and they installed the wpcode and added the code below.
    But with the code mentioned now two things happen. If it is inactive. Only the form appears, and if it is filled out it tells me that the template is missing.
    If I activate the code I get image two, which is the gift card part, but without the form.
    From what I understand something is blocking the correct operation.
    Could you please help me?

    CODE:

    
    add_action('woocommerce_before_single_product', function(){ 
    
    	if(function_exists('is_product') && is_product() && class_exists('Wt_Gc_Gift_Card_Common'))
    	{
    		global $product;
    		$gc_common = Wt_Gc_Gift_Card_Common::get_instance();
    		if(!empty($product)
    		   && method_exists('Wt_Gc_Gift_Card_Common', 'is_gift_card_product') 
    		   && method_exists('Wt_Gc_Gift_Card_Common', 'is_templates_enabled') 
    		   && Wt_Gc_Gift_Card_Common::is_gift_card_product($product->get_id())  
    		   && Wt_Gc_Gift_Card_Common::is_templates_enabled($product->get_id())
    		  ) { 
    
    			do_action( 'woocommerce_before_single_product_summary' );
    
    		}
    	}
    });
    
    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 31, 2024 at 10:06

    Hello Fernando,

    Thank you for reaching out to us.

    Please note that we do not give a guarantee for full theme compatibility with all existing 3rd party plugins, and we can not provide support for such plugins or custom 3rd-party code.

    Have you tested how it works with the default WooCommerce theme – Storefront activated on your site?

    Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.

    Should you require personalized customization services, we invite you to submit a request through our customization panel at the following link: https://www.8theme.com/account/#etheme_customization_panel. This will allow you to engage directly with our technical team.
    Please note that customization services are subject to additional charges. The exact amount will be determined after a detailed review of your request.

    Best Regards,
    8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.