How do I correct/edit the alignment/contents of the coupon message (refer to the screenshot) that pops up when a user enters the coupon code at the cart checkout page in WordPress?
You need to find the template inside the woocommerce plugin's template folder.
Then create a woocommerce folder in your child theme, and copy the template there (same folder strucure).
Finally you make changes to your child theme's coupon template.
Read the comments for this file
Related
I installed my theme with just html, and woocommerce plugin.
I created in my theme directory woocommerce and inside a file archive-products.
In admin, in settings -> reading i choose as a static page the Shop.
But i saw just the page, not the archive-product page.
Where i done a mistake?
When i create a theme with underscores.me, i forgot to check a checkbox for woocommerce.
Now i create another theme with checked checkbox, and the theme work.
I want to make the woocommerce checkout page as simple as like attached image.
Payment method and cart section only, no customer details section.
How can customize the checkout page like this?
Modify the WooCommerce templates by copying them over to your child theme directory under the path child-theme/woocommerce/checkout. The main file is called form-checkout.php
I am using woocommerce and would like to add a custom text to the cart page.
So I add a product to cart, go to the cart and in there I see that the cart uses the page.php template.
My theme folder is called woocommerce, then inside my theme folder I created a folder called woocommerce/templates/cart/cart.php
I added text to the new cart.php but it does not work.
How can I override the woocommerce cart page?
It is my first time using woocommerce so I really hope you can help
Thanks in advance
Create woocommerce/woocommerce/cart/cart.php , folder templates should not be there if you are using theme to override default woocommerce php's
See the article
Template structure & Overriding templates via a theme
https://docs.woocommerce.com/document/template-structure/
I have a wordpress website with woocommerce deployed. I want to override some of the layout and the way each product is displayed on the shop page. I am doing this by creating a child template. I am able to override some functions, but am unable to find which file I need to edit, in order to modify how the thumbnails are displayed. In other words, the thumbnails shown in the following file...
woocommerce\templates\content-product.php
You can just copy templates\content-product.php files to your theme folder; it will override the default template and do whatever changes you need. Visit WooCommerce official documentation for further details.
This a problem on Firefox, works fine on Chrome. If you add a product to the cart, then click back to the product page, (rather than clicking 'continue shopping') the add to cart button now has the attribute 'disabled' added to it.
Anyone know why this is or how to remove it?
found the answer here -
firefox - autocomplete off
I added the attribute
autocomplete="off"
to the form tag.
To do this in woocommerce:
Create a woocommerce directory(folder) in your wordpress child theme.
In this woocommerce folder, create a single-product folder, in here, yet another folder, add-to-cart.
Then copy the files, simple.php and variable.php, from the original woocommerce directory, which is in wp-content/plugins/woocommerce/templates/single-product/add-to-cart
(notice you don't copy the templates directory in your child theme. I have no idea why.)
Open simple.php and variable.php and add the 'autocomplete="off" attribute.