Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #342246

    Hi,

    I just updated the the enfold theme to the latest version 3.0.2. I’m having a couple of problems.

    First is the Single product page, I’m using the code below in my functions file to add in a sidebar displaying related products. My problem is it now displays below my product image while making the product image appear scaled to 100%. disabling the code puts it back to the Woocommerce default under the product image. is there a way to get my sidebar back displaying in a column to the right of my product?
    http://ottimolighting.com/lighting-shop/tiffany-dauphine-mega-pendant/

    #
    # wrap single product image in an extra div
    #
    add_action( 'woocommerce_before_single_product_summary', 'avia_add_image_div', 2);
    add_action( 'woocommerce_before_single_product_summary', 'avia_close_image_div', 20);
    function avia_add_image_div()
    {
    echo "<div class='four units single-product-main-image alpha'>";
    }
    function avia_close_image_div()
    {
    global $avia_config;
    $avia_config['currently_viewing'] = "shop_single";
    echo "</div>";
    }
    #
    # wrap single product summary in an extra div
    #
    add_action( 'woocommerce_before_single_product_summary', 'avia_add_summary_div', 25);
    add_action( 'woocommerce_after_single_product_summary', 'avia_close_summary_div', 3);
    function avia_add_summary_div()
    {
    echo "<div class='five units single-product-summary'>";
    }
    function avia_close_summary_div()
    {
    echo "</div>"; //close out the summary
    echo "<div class='three units single-product-sidebar'>";
    get_sidebar();
    echo "</div>";
    }

    My other issue is the ‘Search by SKU for Woocommerce” plugin no longer seems to work on the navigation search icon. i am still able to use the woocommerce search in the shop pages as well as the back end.

    Is there any fixes about the enable this to work again on the top nav search with the enfold theme?

    Many thanks!

    #343299

    Hi danneeroy!

    My suggestion would be to specify your sidebar within the product admin page

    I do not believe the ‘Search by SKU for Woocommerce” plugin ever worked with Enfold’s search functionality. Was this functional on your site before?

    Regards,
    Arvish

    #343329

    Hi Arvish, thanks for the reply!

    Unfortunately this wont work as there are 1000+ products on the site, i need a site wide solution if possible to place a right-hand side bar on all single product pages. is there currently no work around to this?

    Search by SKU for Woocommerce did work fine on the site before the 3.x update.

    #344476

    Hi!

    If you want to show the sidebar on single product pages, please refer to this link: https://kriesi.at/support/topic/single-product-page-sidebar-not-showing-up/#post-331433

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.