Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #477451

    Dear Support,

    Sidebar Contents (Facebook fan box, etc) is appearing in my shop product details page.
    Also, the Categories and Tags values are not showing completely.
    I have sent you a dropbox link,

    Please, kindly investigate the root cause of this issue and resolve.

    Thank you.

    Regards,

    Emin

    #478205

    Hey emin!

    Add this to your custom CSS.

    .product_meta { padding-bottom: 20px !important; }
    

    As for the facebook in your sidebar you are adding it inside a text widget inside your “Display Everywhere” widget area which like the name suggests will display everywhere. Your probably wanting to move it to the “Sidebar Blog” or “Sidebar Pages” widget areas.

    Cheers!
    Elliott

    #478262

    Dear Elliot,

    Thank you for your response.
    Please, i noticed the following.

    1. When I added the CSS code, .product_meta { padding-bottom: 20px !important; }, Categories and Tags were now showing completely, but there is a big vertical space above the product description details
    2. When I moved the Facebook fan page text box from “Display Everywhere” to “Sidebar Blog” , the Facebook fan box was no more appearing in my shop product details page.
    3. When I added “Woocommerce Products” and “Woocommerce Products Categories” Widgets to the “Shop Overview Page” and “The Shop Product Pages” widget areas, I noticed that the “The Shop Product Pages” is now showing up in my shop product details page just below the product picture, where the Facebook Fan Box was displaying previously. The “The Shop Product Pages” is supposed to show on the right sidebar.

    #3 means the enfold theme is not rendering the correctly the sidebar contents in the default woocommerce shop product details page.
    Please, kindly resolve this bug.

    Regards,

    Emin

    #479109

    Hi!

    1. Reduce the 20px to something smaller then.

    2. + 3. In Woocommerce there is the “Shop Overview Page” which displays your categories / subcategories and the listings of your products, you can think of it as the product archives, and then there are the single product posts. To display widgets on the “Shop Overview Page” then drag your widgets to the “Shop Overview Page” sidebar in Dashboard > Appearance > Widgets. For the product posts drag your widgets to the “Single Product Pages” sidebar.

    Cheers!
    Elliott

    #479165

    Dear Elliot,

    Thank you for your response.

    Probably I made a typographical error in my response above. I have made some typographical correction and it now reads as follows:

    “2. When I moved the Facebook fan page text box from “Display Everywhere” to “Sidebar Blog” , the Facebook fan box was no more appearing in my shop single product details page.
    3. When I added “Woocommerce Products” and “Woocommerce Products Categories” Widgets to the “Shop Overview Page” and “Single Product Pages” widget areas, I noticed that the “Single Product Pages” widget area is now showing up in my shop Single product details page just below the product picture, where the Facebook Fan Box was displaying previously. The “Single Product Pages” widget area is supposed to show on the right sidebar.

    #3 means the enfold theme is not rendering the correctly the sidebar contents in the woocommerce shop single product details page.
    Please, kindly resolve this bug.”

    So, this issue is still outstanding. Please, kindly resolve it quickly

    #480035

    Dear Support,

    After searching your forum for day, I saw and used the fix recommended by your colleague, Ismael, in the thread:
    https://kriesi.at/support/topic/single-product-page-is-strange-sidebar-appears-under-product/#post-451940

    It is much better now, the sidebar is now on the Right and it is longer no below the product picture.

    In Ismael fix, in sidebars.php, I did not see these lines that checks what page is currently being viewed and then serve the sidebar (“Single Product Pages”) accordingly:

    function avia_close_summary_div() {
    echo “</div>”; //close out the summary
    get_sidebar();
    }

    Since I did not see the above lines in sidebar.php, I could not use the lines below to replace the above lines:

    function avia_close_summary_div() {
    global $avia_config;
    echo “</div>”; //close out the summary
    $avia_config[‘currently_viewing’] = “shop_single”;
    get_sidebar();
    }

    So my problems now are:
    1. What should be done to ensure that the “Single Product Pages” sidebar is served accordingly and automatically when viewing the product details page of a single product?
    2. I would like the TABS (for description, additional information and reviews) to span the content width (of 68%) and to appear just below the thumbnails of the product picture.

    Please, kindly assist.

    Regards,

    Emin

    #481476

    Hey!

    Go ahead and take a screenshot and highlight exactly what your trying to do so we can get a better idea.

    Best regards,
    Elliott

    #481491

    Dear Elliot, please see below the drop box link of the screenshot of what i want to achieve in #2. (I think #1 is clear).

    The area circled with blue is the current location of the tabs/descriptions.
    The area circled with red is where i want the tabs/description block to occupy. That is, I want them to spread through the entire width of the content area just below the pictures
    Thank you so much

    Regards,

    Emin

    #482132

    Hey!

    Around line 952 in the /enfold/config-woocommerce/config.php file you should see this.

    add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    

    Change it to this.

    add_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 6 );
    

    Regards,
    Elliott

    #482395

    Dear Elliot,

    Please, I did what you asked me to do.

    #482865

    Hi!

    You can add this code in the functions.php file:

    add_action('init', 'avf_move_product_output');
    function avf_move_product_output() {
    	remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
    	remove_action(    'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
    	add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 5 );
    }

    Note that this is only going to work if you didn’t enable the sidebar in the single product page.

    Best regards,
    Ismael

    #482894

    Dear Ismael,

    I added the code, and the problem is still there.
    My product details page has a right sidebar

    Regards,

    Emin

    #483010

    Hi!

    Please do check if you copy the code through forums and not through the emails.

    Best regards,
    Basilis

    #483013

    Please, I copied the code through forums

    Regards,

    Stardrive

    #483431

    Hi!

    Can you please provide a screenshot of the issue? The code above should move the tabs below the single-product-summary container.

    Cheers!
    Ismael

    #483481

    Dear Ismael,

    Please, see below the screenshot

    Regards,

    Emin

    #484310

    Hey!

    Looks like you’re using a custom product tab. I’m not sure how they render the tabs inside the product page. Please ask the author of the WooCommerce Custom Product Tabs Lite plugin.

    Best regards,
    Ismael

    #484318

    Please, I created the custom product tab for just about 3 products out of a total of 7 products.
    The other 4 products do not have custom product tabs.
    Therefore, if custom product tab is responsible, the problem should not occur for those 4 tabs.

    Meanwhile, I am not seeing the tabs anymore

    Please, assist

    Regards,

    Emin

    #484960

    Hey!

    please contact WooCommerce Custom Product Tabs Lite plugin as Ismael already mentioned and let us know what they are saying. I am sure they can help you as they know their plugin best.

    Best regards,
    Andy

    #489308

    hi. i have a similar problem: sidebar shows under the main image on poduct page.
    i have follow the Ismael instructions, but when i place the code in functions.php, it appears this error message:

    Fatal error: Cannot redeclare avia_add_image_div() (previously declared in /usr/home/orlaec.com/web/wp-content/themes/enfold/config-woocommerce/config.php:1046) in /usr/home/orlaec.com/web/wp-content/plugins/funciones/misfunciones.php on line 133

    i placed the CSS code as well, but currently it doesn´t works,

    Web:
    http://www.orlaec.com.mialias.net/producto/carro-auxiliar-portaequipos/

    prelogin: orlaec135 ; jXIxfca0

    thanks

    #489996

    @clemen2001
    Please open your own thread as this one is getting huge already and it gets confusing for us moderators and for readers searching for answers. Try to deactivate all plugins to see if one is causing this problem. Contact WooCommerce Support as well, as they know their plugin best.

    Regards,
    Andy

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Sidebar contents in shop product details page’ is closed to new replies.