Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1137189
Standard Left side bar
Closed

Comments

  • crownmarketers started the conversation

    how can i make the left side bar standard on my product display pages ?

    Currently i have to set left side bar with every image i add. 

    Is there a way to make that standard and save me the set of checking the box each and eery product i add?

  •  7,097
    Oliver replied

    Hi,

    You need to install child theme, copy woocommerce.php template from parent TheGem theme to child and in this template in child after code:

        $thegem_sidebar_stiky = $thegem_item_data['sidebar_sticky'] ? 1 : 0;
        $thegem_sidebar_position = thegem_check_array_value(array('', 'left', 'right'), $thegem_item_data['sidebar_position'], '');

    add next:

        if(is_product()) {
            $thegem_sidebar_position = 'left';
        }

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver