Home Forums Themes Support Gecko Overlay editing

Viewing 5 reply threads
  • Author
    Posts
    • #1422

      Hello,

      First of all; great theme!

      I have been working on it for a few days now, and is nearly done with all of my motifications. The only problem that I have is that I need to change the quick view overlay from the frontpage. What I need to do is that, when I click on the overlay, instead of the standard product image, I need to be able to add a youtube video instead. Underneaf the video I would like to add all the products which has been used in the video + a “add the cart”-button, followed up by a text about the video.
      Is it possible to create these changes and also give the overlay its own URL, so that it can be posted in e-mails like Mailchimp?

      Thank you for your time, I am looking forward to hear from you, so that the final things of our concept can be made.

    • #1426

      Hi,

      Thank you for purchase!

      To override content of quick view you need add custom code in gecko-child/function.php

      remove_action( 'wp_ajax_jas_quickview', 'jas_gecko_wc_quickview' );
      remove_action( 'wp_ajax_nopriv_jas_quickview', 'jas_gecko_wc_quickview' );
      
      /**
      * Customize product quick view.
      *
      * @since 1.0
      */
      function jas_gecko_wc_quickview_child() {
      // Get product from request.
      if ( isset( $_POST['product'] ) && (int) $_POST['product'] ) {
      global $post, $product, $woocommerce;
      
      $id = ( int ) $_POST['product'];
      $post = get_post( $id );
      $product = get_product( $id );
      
      if ( $product ) {
      // Get quickview template.
      include get_theme_root() . '/gecko-child/woocommerce/templates/content-quickview-product.php';
      }
      }
      
      exit;
      }
      add_action( 'wp_ajax_jas_quickview', 'jas_gecko_wc_quickview_child' );
      add_action( 'wp_ajax_nopriv_jas_quickview', 'jas_gecko_wc_quickview_child' );

      And copy file content-quickview-product.php from gecko > core > libraries > vendors > woocommerce > templates

      to folder gecko-child > woocommerce > templates and override content of content-quickview-product.php

      2. “Is it possible to create these changes and also give the overlay its own URL, so that it can be posted in e-mails like Mailchimp?”

      Can you explain more this issue

      Thanks

       

       

       

      • This reply was modified 7 years, 11 months ago by Harry.
      • This reply was modified 7 years, 11 months ago by Harry.
      • This reply was modified 7 years, 11 months ago by Harry.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #1452

      Hello,

      Thank you for the respons. I do not have that much knowledge of development so I will need to figure out how to get the code into the system.

      What I mean about the URL, is that when I open the overlay, I will need the system to create a custom URL for this picticular overlay, so that it can link directly to the URL and used in marketing. So if I add the link to a facebook marketing post the user will be redirected directly to my webpage with the overlay open. I hope it make sense and thank you for your help.

    • #1460

      Hi,

      1. You can hire some freelancer at https://www.freelancer.com/ or https://studio.envato.com/explore/wordpress

      2. You can try some plugin at https://codecanyon.net/search?utf8=%E2%9C%93&term=popup&referrer=search&view=list&sort=sales

       

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #1516

      Hello,

      Thank you for your support 🙂

      I have been taking a look at the plugins, and I am not 100% sure that it fits my needs. Is it possible to edit the overlay/quick view that is integreted to the theme by default, without having to be able to write code?

      Thanks,

    • #1517

      Hello,

      We’re sorry have only way to edit code to overwrite quick view overlay.

      Regards,

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 5 reply threads

You must be logged in to reply to this topic.