简体   繁体   中英

Re-order the rows in Woocommerce Basket

I'm using WooCommerce and I need to display the current shipping method and price that's selected after the shipping "Update Totals" button.

So, I need to display:

  • Sub Total
  • Shipping drop down selector and postcode/zipcode options
  • "Update Totals" button
  • THE SHIPPING METHOD AND PRICE
  • VAT if applicable
  • Grand Total

How can I achieve this?

Here's a screen-shot to help demonstrate: 在此处输入图片说明

  1. Create a child theme to your theme. https://support.woothemes.com/hc/en-us/articles/203105897-How-to-set-up-and-use-a-child-theme .
  2. Create in your child theme a in same loaction file duplicate of woocommerce --> temapltes --> cart --> cart-shipping.php
  3. Change the order of lines in files.
  4. That should work, and wordpress will run the file in child-theme with the changes instead of original one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM