Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » eCommerce & Atahualpa »

[SOLVED] Atahualpa and Woocommerce 3.3.1


  #1  
Old Feb 9, 2018, 08:24 AM
Grum
 
49 posts · Feb 2010
Scotland
[SOLVED] Atahualpa and Woocommerce 3.3.1

The latest Woocommerce 3.3.1 update has been causing me some problems (now there's a surprise!).
https://westerngeomancy.org/shop/

The shop page looks OK except that the payment options banner is now not centred, and when you go into a category or an item it is displaying with sidebars when it shouldn't. (Sidebars are disabled for the shop page in ATA options.) Also, the old 2.8.6 displayed a navigation hierarchy above the products, which has now disappeared (e.g. SHOP>courses> etc.)

I have added the 'declare Woocommerce support' code as mentioned on their support forum here: https://github.com/woocommerce/wooco...port-in-themes -
I just pasted the whole settings code into ATA > CSS inserts, but I can't say that it seems to have made any difference. The whole WC inserts section (including the part inserted by Juggledad to get ATA to work with Woocommerce originally) now look like this:
PHP Code:
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img {
   
widthauto;
}

function 
mytheme_add_woocommerce_support() {
    
add_theme_support'woocommerce', array(
        
'thumbnail_image_width' => 150,
        
'single_image_width'    => 300,

        
'product_grid'          => array(
            
'default_rows'    => 3,
            
'min_rows'        => 2,
            
'max_rows'        => 8,
            
'default_columns' => 4,
            
'min_columns'     => 2,
            
'max_columns'     => 5,
        ),
    ) );
}
add_action'after_setup_theme''mytheme_add_woocommerce_support' 
I'm a bit stumped as to where to go with this now. Maybe it's time to find another theme?
__________________
Grum
ATA 3.7.24/ WP 4.9.4
  #2  
Old Feb 9, 2018, 10:15 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I’ll try to take a look this weekend but currently I just got back from a 3 hr round trip to pick up a sick 3yr old grandson after dropping the 5yr old cousin at school and grabbing the 3yr olds baby sister (11 months) and his older brother and in a few I have to put them both in the car again to pick up the 5 yr old and take the 5 and 6 yr olds to my sons and in 3 hours pick up the 7 yr old and drive him home.

Ohhh did I mention my wife is sick with a bug and I have a sore throat. Sigh...I hope I make it thru the day
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 10, 2018, 02:41 AM
Grum
 
49 posts · Feb 2010
Scotland
No panic JD, it's more important to look after yourself! I can send you a good hot toddy recipe for your throat if you like.

I recall now that there is some Woo code in the functions.php that relates to removing sidebars. Possibly that is causing issues with the new WC.
__________________
Grum
ATA 3.7.24/ WP 4.9.4
  #4  
Old Feb 11, 2018, 02:49 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try adding to the CSS Inserts
HTML Code:
div.post table {margin: 0 30%;}
you might need to play with the % and if you have other tables, you might want to prefic the CSS selector with 'div.post-1652' whish is the post that shows on. There may be other problems in the site because of the change so you need to go look for them.

p.s. I now have the flu....and my bodies furnace has gone haywire. There are times I've got a fever and my hands are like ice. I've taken to wearing mittens at times....Fortunately I got on tamale within 24 hours and hopefully it won't be too bad...
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 14, 2018, 07:26 AM
Grum
 
49 posts · Feb 2010
Scotland
Quote:
Originally Posted by juggledad
try adding to the CSS Inserts
HTML Code:
div.post table {margin: 0 30%;}
you might need to play with the % and if you have other tables, you might want to prefic the CSS selector with 'div.post-1652' whidh is the post that shows on
Hi JD,

Thanks for taking a look under less than optimal conditions! I hope your suffering has lessened a bit.

I haven't had a great deal of time to play around with this, but I tried adding your suggested CSS insert, with and without the '1652' and with varying percentage values, but it hasn't made any difference. I also tried removing the WC code in the functions.php file but that didn't go well at all LOL.

Another issue that I've just notices is that if you click on one of the category images, as well as having the sidebars it is showing all the comments from the entire site underneath.

I'm getting well out of my comfort zone trying to fix things here... maybe it is time to look around at other themes. When I can find the time, that is.
__________________
Grum
ATA 3.7.24/ WP 4.9.4
  #6  
Old Feb 15, 2018, 04:14 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
Another issue that I've just notices is that if you click on one of the category images, as well as having the sidebars it is showing all the comments from the entire site underneath.
Swap to twenty-seventeen and see if it s an issue there - could be a woocommerse bug. I'd take a look, but I don't know what you mean a category image in the shop page or somewhere else. If on the shop page, what do you mean by a category image? The item for sale images?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Atahualpa 3.7.13 with Woocommerce 2.1.2 Internetfoto eCommerce & Atahualpa 3 Feb 27, 2014 11:13 AM
[SOLVED] Atahualpa + woocommerce - Searchfield and the Results bernishome eCommerce & Atahualpa 2 Apr 21, 2013 01:25 PM
[SOLVED] Atahualpa + WooCommerce - container shadow omily eCommerce & Atahualpa 2 Apr 18, 2013 01:33 PM
[SOLVED] Woocommerce and Atahualpa Viktoria eCommerce & Atahualpa 12 Oct 15, 2012 06:38 AM
Sidebar/Footer-problem with Atahualpa and WooCommerce owc eCommerce & Atahualpa 2 Oct 26, 2011 08:00 AM


All times are GMT -6. The time now is 06:34 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.