I'm creating a custom theme for a woo commerce website. Everything is good except that with my theme when I click on "checkout" in the cart it redirect me on my main page but with the URL of checkout.
If I active a simple theme as twentynineteen then i have my checkout page.
I tried to copy the checkout folder of woocommerce but it does not change anything.
What I don't get is that I don't override anything about this checkout page, so it should inherit from woocommerce and show it.
Here is my theme code: https://bitbucket.org/romain_o/wp-theme-flopo/src/master/
Thanks for your help
I don't see page.php template in given theme source code.Can you please create page.php template & make sure to put the_content(); in it. even if i create other pages they are not coming & redirecting to home page.
Related
I'm trying to use this plugin to add product highlights in the shop category loop in WooCommerce.
While the plugin works nicely with Astra and Storefront (highlights shown above "add to cart" button), the highlights are shown post "add to cart" for the site using UXThemes Flatsome theme.
Because the plugin works nicely in Astra and Storefront, I gather Flatsome somehow alters the loop / hooking for products shown in the shop / archive page.
My question: How do I go about debugging and figuring out exactly where Flatsome drops the ball? I really need the highlihts to be shown before the add-to-cart button. You can see a staging / testpage here:
Right now I'm sifting through the theme layout and loop php files, and not getting any wiser.
Thanks in advance for any help
I'm developing a custom WordPress theme including WooCommerce. To modify the WooCommerce default templates, I simply added a woocommerce.php file to my themes root folder. Everything works fine except the shop page. Whichever page i assigned to shop page gets 404 page not found. All other things like single product, checkout, cart working smoothly.
I have a website in made with Wordpress 4.1.15 and I'm using the WooCommerce as a virtual store.
One of my admins deleted the Checkout and Shop pages, then I had to recover them from the trash but after that, the WooCommerce Sidebar disappear and now is disabled in the widgets area.
How can I force and enable again the sidebar?
Thansk
Go to Shop edit page ant look at template. Select sidebar template if there is one. If there is no template with sidebar you have to create one.
Having some problem setting up my woocommerce shop because of the checkout page.
The problem is that I'm facing duplicated payment methods that appear on BILLING Page and also ORDER & PAYMENT page.
I'm using a theme that haves a one page checkout.
If anyone can indicate how can i remove the links
Images that explain the the situation
http://i.imgur.com/ODCTERg.png - Billing and shipping page that show the wrong placement of the field
http://i.imgur.com/s26UfjI.png - the payment page that show the right and wrong placement of the field
I'm not 100% sure why the payment options are appearing on your Billing Details step (this will be down to how the theme is built); however I suspect this is happening because your theme has a woocommerce folder, and following one of the more recent WooCommerce updates (around 2.3.0, I think), the WooCommerce theme files have changed slightly.
Previously, the payment options loop was in /woocommerce/checkout/review-order.php in your theme folder. However, it was removed from this file and there are now two new files: payment.php and payment-method.php.
It's most likely that your existing review-order.php template contains the loop for displaying the available payment gateways, but WooCommerce sees that your theme doesn't have the payment.php file, so is helpfully using its default (located in /plugins/woocommerce/templates) - as a result, your checkout is doubling up on displaying the payment options.
Try:
Make a backup of your current review-order.php file, then copy 'review-order.php, payment.php & payment-method.php from /plugins/woocommerce/templates/checkout/ to your theme folder: [your-theme]/woocommerce/checkout/.
Hopefully, you should no longer see the doubling-up of your payment methods. On the downside, you may well have to modify these files to bring them back in line with your theme.
Just rename this folder:
/wp-content/themes/themename/woocommerce/checkout
It Is old code which is coming with theme.
I am using woocommerce for a wordpress theme, i can figure everything out except one thing
how do i add this button (manual on the website)
http://www.fashiolista.com/content/fashiolista-button/
to a product-page in woocommerce (next to add-to-cart button) ?
You need to edit share.php in the templete of your theme. If your theme doesn't have it then you will have to create it and you can add the custom buttons there.