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 »

Atahualpa 3.7.13 with Woocommerce 2.1.2


  #1  
Old Feb 27, 2014, 10:03 AM
Internetfoto
 
3 posts · Jul 2013
Stockholm
Hello

I use your great Theme Atahualpa 3.7.13
When I updatded my Woocommerce to 2.1.2 so will the shop not work correctly. You see, when a customer buy a product and click at the last step Buy so go Woocommerce to checkout/order who not work. (See attached file)

In my WP admin so could I read:

"Third party / custom / non-WC theme compatibility

For the most part, WooCommerce templates will integrate nicely with most WordPress themes. Where you may run into problems is when the default WooCommerce content wrappers do not match your chosen themes. This will manifest itself by breaking your layout on WooCommerce pages and shifting your sidebars into incorrect positions.

This problem can potentially affect the shop page, the single product page and the taxonomy pages (categories and tags) because WooCommerce uses templates of its own to display these pages (and its impossible for WooCommerce to know exactly what markup your theme uses). Other “pages” (checkout, cart, account) are not affected because they use your theme’s page.php template.

There are two ways to resolve this; using hooks (for advanced users/developers) or using our catch-all woocommerce_content() function inside your theme.
Using woocommerce_content()

This solution allows you to create a new template page within your theme which will be used for all WooCommerce taxonomy and post type displays. While an easy catch-all solution, it does have a draw back in that this template will be used for all WC taxonomies (product categories etc) and post types (product archives, single product pages). Developers are encouraged to use the hooks instead.

To set up this template page perform the following steps:
Duplicate page.php

Duplicate your theme’s page.php file, and name it woocommerce.php. This file should be found like this: wp-content/themes/YOURTHEME/woocommerce.php.
Edit your page (woocommerce.php)

Open up your newly created woocommerce.php in a text editor (or the editor of your choice).
Replace the loop

Next you need to find the loop (see The_Loop). The loop usually starts with a:

<?php if ( have_posts() ) :

and usually ends with:

<?php endif; ?>

This varies between themes. Once you have found it, delete it. In its place put:

<?php woocommerce_content(); ?>

This will make it use WooCommerce’s loop instead. Save the file. You’re done.
Using hooks ↑ Back to Top

The hook method is more involved than using woocommerce_content, but is more flexible. This is similar to the method we use when creating our themes. It’s also the method we use to integrate nicely with Twenty Ten and Eleven.

By inserting a few lines in your theme’s functions.php file, First unhook the WooCommerce wrappers;

remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);

Then hook in your own functions to display the wrappers your theme requires;

add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10);
add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10);

function my_theme_wrapper_start() {
echo '<section id="main">';
}

function my_theme_wrapper_end() {
echo '</section>';
}

Make sure that the markup matches that of your theme. If you’re unsure of which classes or ID’s to use take a look at your theme’s page.php for a guide.
Declare WooCommerce support ↑ Back to Top

Once you’re happy that your theme fully supports WooCommerce, you should declare it in the code to hide the “Your theme does not declare WooCommerce support” message. To do so you should add the following to your theme support function;

add_theme_support( 'woocommerce' );

If all else fails…

If you cannot work out the above methods, and don’t have access to a developer, we strongly recommend looking at our WooCommerce Themes which work out of the box as a hassle free solution."

So my questions are: Where can I find Atahualpa page.php file or can I do it any other way to make Woocommerce work correctley ?

Patric L / Internetfoto
Attached Thumbnails
Click image for larger version

Name:	checkout.jpg
Views:	2067
Size:	52.0 KB
ID:	2508  
  #2  
Old Feb 27, 2014, 10:27 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
have you tried searching thru the forums?
__________________
"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 27, 2014, 10:47 AM
Internetfoto
 
3 posts · Jul 2013
Stockholm
yes, I have but i could not find anything about it
  #4  
Old Feb 27, 2014, 11:13 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Let me see if I understand. You installed a new version of woo commerce and now it is not working correctly. Is that right?

Have you spoken to the plugin's developer about this?

Atahualpa has no 'page.php' file - you could duplicate the index.php and try using it as the woocommerce.php
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 27, 2014 at 11:16 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[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] Atahualpa &amp; Woocommerce Footer/Sidebar emillian eCommerce & Atahualpa 2 Feb 14, 2013 06:11 AM
[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 09:02 PM.


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