Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter logicindustries

    (@logicindustries)

    Actually, after roping a customer into the process to forward the test emails I sent out back to me, it appears that WooCommerce Services automatically includes the tracking number in the email that is sent out when the order is marked “Complete” in WooCommerce.

    It’s totally seamless. So seamless in fact, that I didn’t even know it was happening, so I was trying to find a solution to a problem I didn’t actually have.

    Now if there were some way to purchase insurance on the shipping labels that WooCommerce Services produces, I’d be in hog heaven.

    Thread Starter logicindustries

    (@logicindustries)

    I figured the problem out, or rather I figure out how to do what I wanted to do without breaking anything else.

    I still don’t know why what I was doing before was breaking things, but it doesn’t matter.

    Instead of editing the Functions.php file, I instead edited the woocommerce.php file.

    I changed this bit of code:

    /**
     * Declare WooCommerce Support
     */
    function oblique_woocommerce_support() {
    	add_theme_support( 'woocommerce' );
    }
    add_action( 'after_setup_theme', 'oblique_woocommerce_support' );
    

    To this:

    /**
     * Declare WooCommerce Support
     */
    function oblique_woocommerce_support() {
    	add_theme_support( 'woocommerce' );
    	add_theme_support( 'wc-product-gallery-zoom' );
        add_theme_support( 'wc-product-gallery-lightbox' );
        add_theme_support( 'wc-product-gallery-slider' );
    }
    add_action( 'after_setup_theme', 'oblique_woocommerce_support' );
    

    And then after test driving, I decided that I didn’t want the ZOOM function active anymore, so I commented it out:

    /**
     * Declare WooCommerce Support
     */
    function oblique_woocommerce_support() {
    	add_theme_support( 'woocommerce' );
    	/**add_theme_support( 'wc-product-gallery-zoom' );*/
        add_theme_support( 'wc-product-gallery-lightbox' );
        add_theme_support( 'wc-product-gallery-slider' );
    }
    add_action( 'after_setup_theme', 'oblique_woocommerce_support' );
    

    That solved my problem.

    I’ve now got full image lightbox and slider functionality, but my social menu hasn’t disappeared like before.

    I’m calling it a win and quitting while I’m ahead.

    Just came back here to document the fix in case anyone else happens to need to perform it themselves.

Viewing 2 replies - 16 through 17 (of 17 total)