• Resolved Brad Griffin

    (@burlesonbrad)


    Here is the product settings page:
    https://i.imgur.com/3zN3E0R.png
    Which (wonderfully) creates this on the actual product page:
    https://i.imgur.com/yb1h0vA.png which looks pretty slick
    However, when I go to put the product on the homepage like this:
    https://i.imgur.com/B7gRq4o.png
    Here’s what happens (in two screenshots)
    https://i.imgur.com/D5yHMVf.png https://i.imgur.com/mnq8m6w.png

    Removing the Gallery, Product Tabs, Product Description, and Product Meta works great on the individual product page. However, I’m trying to make one CLEAN & SIMPLE page. When the product is added to a simple page, the tabs / description / meta all show back up yet, they should stay HIDDEN/GONE, right?

    • Nothing But Woo
    • Super Stark’s Variation Swatches
    • 4.4.2 WP
    • 4.5 WC
    • Tried using HomePage Control ~ nope
    • Tried using regular shortcode ~ nope
    • Would Storefront Woo Customizer help? ~ nope
    • remove_action for each element? ~ nope
    • change template of page? ~ nope
    • Wait an hour, mow 3 acres, come back and try something else? ~ nope

    Is this ‘support’ or a bug / enhancement that should be over on git?
    Whomever managed to pull ‘weekend forum duty’ I’d love to get some direction on this ??
    Oh, btw: This is all localhost so, sorry ~ no live URL to provide
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Brad,

    The “Storefront” tab you see in your products page is actually coming from the Storefront WooCommerce Customiser. Since it’s a premium extension, the best place for support with it is through our contact form.

    As a quick answer, the product page settings changes you made only apply to the single product page, and not to that product globally. If you want to remove those sections you would need to use the remove_action but wrapped inside of a function like this:

    function marce_remove_product_details_tabs() {
    	remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
    }
    add_action( 'init', 'marce_remove_product_details_tabs', 20 );

    Cheers,

    Thread Starter Brad Griffin

    (@burlesonbrad)

    I’ve got 99 licenses, but another one, just to test on local while toying with creating child themes ain’t one ??
    ha!

    Ok, it’s the init function that I was missing! Good eye Mikey! Good Eye!!

    Thanks man!

    hey, check the git Mikey. I think I might be able to help one of yours ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘One page One Product | Product Page & Homepage not cooperating’ is closed to new replies.