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.
Related
I'm currently working on a product page in Wordpress.
The current theme I'm using allows my product image to be sticky throughout the webpage browsing.
However, the "Add to cart" and a "Price table" is located all the way at the bottom of the page.
I'm looking for a way to change that block over to underneath my sticky product image, so people could constantly see the price changing as they're choosing their options in the page.
I'm currently using Metro as a theme as YITH WooCommerce Add-ons & Extra Add-ons to display my product options.
Appreciate all the help I could get!
Image at the bottom of the product page
I've tried to look for the specific block on the Parent Theme of Metro and I've came to a conclusion:
I don't understand PHP enough to identify the exact block that's calling the price table & add-to-cart button.
Even if I thought I found something that could be it, I tinkered with the codes a bit, but there were absolutely no changes to the site, which led to my assumption that I'm editing the wrong one due to the different layouts the theme has.
I would like to add a bulk action on the Woocommerce product list page. I understand I can do this from the functions.php file on my child theme using an add filter bulk_actions_<screen> however I am not sure what screen the Woocommerce product list page is. I have tried several combinations and tried finding information on Google however I was unable to identify anything useful.
Thanks,
Prem
I am creating a simple test product in magento and trying to add some custom attributes for variants. Unfortunatly these are not showing up in the front end.
So I'm pretty sure it's a theme issue here...
When I add a custom product option such as a drop down, the Add to Cart button vanished and can no longer be purchased... as well as now showing the dropdown.
Any thoughts would be greatly appreciated. Is there a directory to look this stuff up in?
I've added some photos in case my description wasn't clear enough
Thanks
Try clearing your caches
Check the inventory tab, if product is saleable on frontend (in stock and has qty)
check /var/log/ and /var/report for errors
calling isSaleable() on the product object can direct you as well (this check is also in product actions template where the add to cart button is rendered)
Just a note but if you have product variants (say size) you probably want to use configurable products instead of custom options
I have had same issue in my new magento 1.9
I just clean all caches from var/cache
Also clean your cache from magento admin.
How can we customize cart items in magento. I have used custom options but it is not working as intended. All I need is to show some configurable data in cart page and in order page.
Can some one help how can I achieve it.
Edit: To elaborate, along with cart item, type and qty. I want to display supporting text for each item type. I got it working with custom options, but I had to include qty inside custom options which created an issue on cart page during cart update. Now I am looking for some other way by which I can acheive same thing.
Thanks
According to your question, you are trying to edit the product that are in the cart. Hope i am getting you right. For this you just need to have a look at the file default.phtml in
app/design/frontend/base/default/template/checkout/cart/item/default.phtml
This phtml file is responsible for displaying the item in the cart. Here you can get the custom options of the product as well. You can edit as per your requirement.
But remember before you edit copy this file to your theme because this is the best practice not to edit the magento's core files.
Hope this will help.
Zen Cart :: coupons - is there a way to create a page that will pull in the existing coupons and display them?
I am supposing that you mean a public (catalog) page.
I have never done it, but just in case it helps, I would start by looking at the file /includes/modules/pages/discount_coupon/header.php. This header gets the coupon id from the POST and retrieves its data from DB.
So it seems moderately easy to just duplicate this folder, rename it as "discount_coupons_list", modify the header.php to allow for a loop and do the rest of minor modifications that you would need to add any new page to Zen Cart (instructions here). For the template file, you could also use tpl_discount_coupon_default.php as a starting point.