-
AuthorPosts
-
July 23, 2015 at 2:58 am #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
July 24, 2015 at 3:25 pm #478205Hey 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!
ElliottJuly 24, 2015 at 4:26 pm #478262Dear 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
July 27, 2015 at 3:30 pm #479109Hi!
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!
ElliottJuly 27, 2015 at 4:51 pm #479165Dear 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
July 29, 2015 at 6:31 am #480035Dear 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-451940It 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
July 31, 2015 at 4:58 pm #481476Hey!
Go ahead and take a screenshot and highlight exactly what your trying to do so we can get a better idea.
Best regards,
ElliottJuly 31, 2015 at 5:37 pm #481491Dear 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 muchRegards,
Emin
August 3, 2015 at 3:12 pm #482132Hey!
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,
ElliottAugust 3, 2015 at 8:18 pm #482395Dear Elliot,
Please, I did what you asked me to do.
August 4, 2015 at 5:33 pm #482865Hi!
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,
IsmaelAugust 4, 2015 at 6:41 pm #482894Dear Ismael,
I added the code, and the problem is still there.
My product details page has a right sidebarRegards,
Emin
August 4, 2015 at 9:51 pm #483010Hi!
Please do check if you copy the code through forums and not through the emails.
Best regards,
BasilisAugust 4, 2015 at 10:00 pm #483013Please, I copied the code through forums
Regards,
Stardrive
August 5, 2015 at 3:55 pm #483431Hi!
Can you please provide a screenshot of the issue? The code above should move the tabs below the single-product-summary container.
Cheers!
IsmaelAugust 5, 2015 at 4:46 pm #483481Dear Ismael,
Please, see below the screenshot
Regards,
Emin
August 7, 2015 at 7:45 am #484310Hey!
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,
IsmaelAugust 7, 2015 at 7:59 am #484318Please, 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
August 9, 2015 at 10:55 pm #484960Hey!
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,
AndyAugust 18, 2015 at 9:33 am #489308hi. 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
August 19, 2015 at 12:53 pm #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 -
AuthorPosts
- The topic ‘Sidebar contents in shop product details page’ is closed to new replies.