Customize WooCommerce Checkout Fields and Columns

I'm using WPExplorer's Total theme: You should be able to click this sentence to open the Total Theme from WPExplorer. You'll need to add something to your cart and get to the checkout page for...

Duplicate items on Woocommerce cart page

I'm having difficulty removing duplicate items on a Woocommerce cart page on Wordpress. It shows a Shipping Options dropdown twice (shipping_method[0] according to Safari's inspect feature). The...

Get the number of items in cart in wordpress using woocommerce

i'm actually developping a website. But i'm facing an issue. I need to display the number of item that are in the cart but only the number, nothing else i dont want total amount or anything else....

Display an estimated delivery date range based on WooCommerce cart item stock

I am trying to output an estimated delivery date in the cart based on the stock status of the products in the cart. I was a little bit successful but now I am stuck. This is what I have written so...

Woocommerce shipping cost not added to order

I have created a custom shipping method that calculates the cost of shipping from an external shipping API. I have followed the instructions found here (Woocommerce docs) and here(Tutsplus). I...

Get the Cart shipping label and cost in Woocommerce

I need to display the shipping cost in other side of cart page. I tried: <?php $current_shipping_cost = WC()->cart->get_cart_shipping_total(); echo $current_shipping_cost; ?> But print value nad...

Add and manage Product custom upload field in Woocommerce 3

I am trying to add a file upload along with radio inputs in a custom woocommerce page; where all the products are showing in a list view. The Custom Page CODE: <?php /* Template Name: Custom...

Woocommerce change product unit price by multiplying quantity variation?

First of all, i'am newbie at server side coding like php, mysql etc. So that i want to make things easier to explain my issue as short as possible : I have website that has all "variable products...

Updating product stock programmatically in Woocommerce 3

I need so help. I'm trying to update the woocommerce product stock quantity programmatically. We have a vendor feed to us through some JSON. I can read the stock from the feed and can pull the...

Custom text under Add to cart but not on side in Woocommerce

In Woocommerce I am using the following code to add a custom text under add to cart: add_action( 'woocommerce_after_add_to_cart_button', 'content_after_addtocart_button_func' ); function...

Woocommerce: unnecessary bullets appear to shipping options

I've built my soon-to-be-launched online shop on Wordpress, theme Ellie, using Woocommerce plugin. The issue appears in the Shipping options: unnecessary bullets and indentation is added to each...

Trigger ajax update_checkout event on shipping methods change in Woocommerce

I'm trying to customise WooCommerce checkout process to be it similar as Shopify! It means - checkout process is splitted in steps: Customer info, Shipping, Payment. And on the right side of every...

Custom Woocommerce price not being passed from cart to checkout

I'm building a woocommerce shop to sell antique maps, both originals and digital prints. The maps therefore are set as two variations of the same product: "Original" and "Print". "Original" is...

Bootstrap Woocommerce checkout columns not aligned

I've been trying to align my checkout columns side by side for hours and finally decided to swallow my pride and ask for help, I can imagine it's something pretty simple but I can not find...

Payfort integration in wooCommerce | Showing error on checkout, and order pending for 3d Secure response

I am integrating payfort in wooCommerce site, I have installed the payfort plugin, and configured according to my payfort test account settings. Now on checkout its showing error There are some...

WooCommerce - cart item data null when attempting to update quantity

Fatal error: Call to a member function get_tax_class() on null error that points to Line 230 of class-wc-cart-totals.php. It appears the cart item data property is null. I am unsure why, hoping...

TypeError: c.attr(...) is undefined

Hello i have a problem with my site, when i try add product to cart with the button in single product page it only stay loading and it dont add the product and it send me this error to the...

Modify simple product link in WooCommerce

I have an online store with WooCommerce where the user who is not registered as a "Subscribed Customer" and tries to add a product to the cart is redirected to the page to subscribe. In the case...

WooCommerce storefront header cart : make dropdown cart contents wider and drop to left (right-aligned)

I'm using WooCommerce storefront for my website. I'd like header cart dropdown contents to be wider and drop to left (right-aligned). Since my header cart is at the top right corner of the screen,...

Woocommerce Storefront - Sticky Product Page Gallery

I'm using Storefront, a 'Woo' theme for Woocommerce. I've attempted to make the image gallery 'sticky'. Currently only contains 1 item. My plan was to make this item scroll down along side the...

How to change the Add To Cart Woocommerce button to a customized URL that pulls in the product SKU and Quantity#

In my Woocommerce store, I want to change all of the 'Add to Cart' buttons to an external URL that dynamically pulls in the product's SKU and Quantity. The URL would be something similar to...

Add margin between mini cart buttons

I have added smart paypal button to my woocommerce store. Now the problem is this yellow paypal button do not have spacing with other buttons in my mini cart. You can look this at after adding one...

Woocommerce Shopping Cart Icon

I have a woocommerce cart icon in my main navigation. I want that icon to show a if the cart has items in it. If not that would be removed. I have tried the code below and it does not do what I...

Angular Http post request not seen by $_POST on backend php

I'm building a PHP custom endpoint for a WordPress site to submit a form on woocommerce product page, add to cart form to be specific. So I have a mobile app build on ionic 4 / angular 8 that...

Hide Price and Add to Cart button in Quick View of 3rd Party Plugin

I have a Wordpress/WooCommerce site. I am trying to create a catalog, members-only site where you have to be logged in to see pricing. I am currently using the plugin WooCommerce Catalog...

Woocommerce mini cart subtotal does not update correctly after currency change

Is there any JavaScript or PHP solution to recalculate and replace Subtotal of mini cart based on available price values on page reload? Currently I have two different currencies, for example Euro...

Woocommerce custom payment gateway redirect back to woocommerce

I have a custom gateway, I am new to the custom plugins for woocommerce, now my problem I have is that I am able to redirect to my payment gateway but in my payment gateway (HTML) how do I...

Woocommerce Paypal REST api integration with React JS

I am using Woocommerce for backend and react js for the front end. Since woocommerce is supported with apis, I am trying to integrate PayPal for payment gateway. Default WordPress themes work with...

How to access specific PHP array object

The following code is passing TM EPO custom product fields (woocommerce addon) to order export plugin, so I can export each field in a separate column in CSV table: var $tm_fields = array( ...

How to convert select options (product attributes) to clickable divs in variable product page in WooCommerce?

I am trying to redesign the woocommerce single product page where instead of showign a dropdown for variation options, I would like them to be placed in separate divs and be displayed in flex...