[SOLVED] Woocommerce and Atahualpa
Hello,
I tried to use the plugin Woocommerce This plugin has been realized and Atahualpa do not work well together. The menu and the footer of Atahualpa Disrupted. http://www.billieshimoni.co.il/?post_type=product There is a way to fix this? Maybe I can add some code? I tried to contact help in Woocommerce, but no one to talk there. Thank you. |
what page are you seeing a problem on? when I follow the link it looks fine in Safari.
|
In Store page - all pages of products, down a menu should not appear and footer distorted.
I checked it does not look good in all browsers. thank you. |
you could try this edit footer.php and change line 3 from
HTML Code:
if (!isset($bfa_ata)) HTML Code:
if ((!isset($bfa_ata)) or (class_exists('Woocommerce')) ) |
You are amazing! Now Footer looks great!
But the problem still remained in the right menu, the menu appears again under products How can I fix this? Thank you very very much :) |
This is a Woocommerce 'issue'. They are calling the footer passing a parameter that should make it run the file 'footer-shop.php' but they don't have one so it just defaults to 'footer.php' and then Atahualpa runs 'footer.php' as it should.
here is a possible fix, create a file called 'footer-shop.php with the following in it HTML Code:
<?php |
I did what you said, but did worse, the footer completely disappeared from the products page and the menu still appears under products.
In my opinion the code you said earlier placed in fooer is excellent and solved the problem of Disruption footer, but did not solve the problem of the menu that appears under products. Maybe to check the header.php? maybe there is a possible problem of the menu and put some code?:confused: Thank you. |
i see no difference between the header on the home page and the header on the product page
|
So I have no way to fix it? :(
|
can you send a screen print showing the difference?
|
I do not know whether there is a difference between them, unfortunately I do not know very much about the field. There must be a reason that causes this disruption so I thought maybe the reason lies in header.
Well if there is no way to help fix it, thanks anyway for the help. |
This is an issue with woocommerce. If you had done a google search you would have discovered it.
1) delete the file footer-shop.php that I told you to create. 2) edit the atahualpa file 'function.php' 3) change the last line from HTML Code:
?> HTML Code:
add_action('wp', create_function("", "if (is_archive(array('product'))) remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);") ); |
Yes yes yes it works!
Thank you very much! You made me happy :):) |
All times are GMT -6. The time now is 04:28 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.