I’m having an issue finding the correct configuration/short code for wordpress woocommerce cart total + shipping cost.
I am wanting to use it for a custom payment gateway.
It will be on the checkout page before placing the order and specifically in a payment method.
The sentence would look like below.
“Pay (total amount) at payment link”
Where the Total amount = shipping cost+discounts+tax’s+ items cost
Can anyone help me configure a short code to put into my functions.Php or find a short code I somehow missed?
All the short codes I have tried for example the ones found on booster plus for woocommerce don’t give me what I want(I have the plug-in installed on the website). The short codes I have tried only show the subtotal of the items put together, but doesn’t include the shipping, tax’s, and discounts.
Related
In my online store, there are sevral shipping methods. I added a plugin for distance delivery (Boxtal Connect)
I would like to be able to autorefresh total amount when a new shipping method is chose on the checkout page.
I think the selector is name=shipping_method[0] and the trigger is jQuery('body').trigger('update_checkout',
I would like to find an code to add on my child function.php to do it.
In fact it works well on the cart page and I think it is a native woocommerce function.
Thanks for you help
Hi i want to woocommerce checkout page get woocommerce-checkout-review-order-table.
How do I get all the information for that order? The important thing is to be sensitive to situations such as VAT, cargo. I just need information.
You can get all the details of the products you've added into cart on checkout page. Please check if you've added tax(VAT) and shipping (CARGO) class to each product from your WP admin.
Here you can refer WC tax rate docs and you can see here to assign products a tax classes.
Similarly, you supposed to create and assign shipping zones and it's rates as well. You can find docs for creating shipping zone from here
You can find many tutorials to set shipping for your desire requirements however, here is the one for quick reference. WooCommerce Shipping Methods
Hope this may help you in your requirements!
Be noted you can't get order information before you placed order successfully. I answer you based on understanding that your need information of tax, shipping cost on checkout page.
I'm surprised im asking this as i would assume it is fairly easy to do but i've been trying and playing with plugins for days and not able to get the result i need.
I am trying to add multiple cross sell options to a woocommerce product so that a user can select multiple add-on products and add them to the cart with the main product from the product page.
Fore example: If the main product is a toy car, the add-on options might be batteries, extra remote control, etc. The customer could check the items they want and all would be separately added to the cart (by separately i mean so the customer could later decide to remove the toy car from the cart, but the batteries and extra remote would still remain in the cart until they were also removed).
I have tried various things including: product variations (core), product bundles (woo and yith), product addons (woo and yith), composite products (woo and yith). None can do all of the above.
If anyone can suggest a way to do it with either core or a plugin i would be VERY grateful!
Thanks for reading :)
It's been a while and I assume you already found the answer, but in case you haven't, you may add (manually) all the products that matches the product in the cart. You can do so in the product's page (admin panel) in "linked products", where "Cross-Sells" are the ones that will show in the cart.
The only thing is that by default, WooCommerce allows only 2 products to be linked. You may override that limit by inserting in your theme's "functions.php" file, the following line.
add_filter( 'woocommerce_cross_sells_columns', 'change_cross_sells_columns' );
function change_cross_sells_columns( $columns ) {
return 6;
}
In the example above, "6" is the limit. You may use any number, but you should use it wisely, as too many products shown in the cart will only confuse customers.
I hope this helps.
I want to sell magazines through WooCommerce. When someone orders just one or two magazines then the shipping costs would be an x amount, however when someone orders more then two that would become a package and different shipping costs must be shown. Is this possible within WooCommerce, if so how?
Personally I would recommend this plugin ;-)
WooCommerce Advanced Shipping
There are others like Table rate shipping (from WooThemes)
Im developing an e-commerce site with wordpress and woocommerce 2.1. Im using a third party payment gateway (Klarna Checkout) which doesn't offer the customer to specify a delivery date/time. I need to make this feature available but the problem is that the gateway only sends the order-meta from their form, which doesn't offer a date field, when the order is completed. In other words, the standard checkout fields in woocommerce won't be passed to the final order.
My idea of solution is to add a hidden free product called Time, with variations for different time spans, on the checkout page and automatically add this product(with selected variation) to the cart when a customer selects a variation. The specified time would then show as a ordered product when viewing the order in wordpress. How could i do this?
If anyone has a better idea of how to solve this problem feel free to contribute :)
Thanks!
Try this free plugin that adds a delivery date on the checkout page: http://wordpress.org/plugins/order-delivery-date-for-woocommerce/