Top WooCommerce & WordPress Plugins › Forums › Custom Shipping Methods for WooCommerce › Costs table
- Support forum for the Custom Shipping Methods for WooCommerce.
- This topic has 4 replies, 2 voices, and was last updated 4 years, 10 months ago by Tom Anbinder.
- AuthorPosts
-
February 20, 2019 at 12:25 am #94564promitechParticipant
Hi, just got the plugin installed but it does not seem to work, I sure I am missing some thing. here is the code I used
[costs_table prop="cost" table="0-29.99|7.99-49.99|9.00-74.99|13.99-99.99|17.00-149.95|21.99"]
looking for this
We offer free shipping on orders of $150.00 or more.
Our shipping chart is as follows.0.00 – 29.99 $7.99
30.00 –49.99 $9.00
50.00 –74.99 $13.99
75.00 —99.99 $17.00
100.00—149.99 $21.99
testing can be done at http://www.farmhousedecor.com cart is live
February 20, 2019 at 12:41 am #94565promitechParticipanteven as a programmer I find the rates hard to understand I would expect or like to see something easy like
[costs_table prop="cost" table="0-29.99=7.99|30.00-49.99=|9.00|50.00-74.99=13.99|75.00-99.99=17.00|100.00-149.99=21.00"]
if you cant use the = since its a operator use- but pipe on each rate.
Rick
February 20, 2019 at 6:02 pm #94566promitechParticipantI re did the code and I am using this now
[costs_table prop="cost" table="1-7.99|29.99-49.99|9-74.99|13.99-99.99|17-149.99|21.99"]
now I get “there are no shipping options available for this address”
February 21, 2019 at 5:09 pm #94567Hi,
Sorry for a late reply. According to your table, I believe what you need is:
[costs_table prop="cost" table="0-7.99|30-9|50-13.99|75-17|100-21.99|150-0"]
P.S. “there are no shipping options available for this address” message appears because you need to add some value to
21.99
, i.e. it always has to be inmin_prop-cost
format.P.P.S. Regarding your proposed format (
...0-29.99=7.99|30.00-49.99=...
) – will be trying to add it as an alternative format in next plugin version.May 23, 2019 at 11:03 pm #94568Hi,
Just wanted to let you know (and if anyone else has similar questions) – as requested, we have finally added an alternative table format to the
[costs_table]
shortcode. You need to addtable_format
attribute to the shortcode and set it torange
, e.g.:[costs_table prop="cost" table="0-30=7.99|30-50=9|50-75=13.99|75-100=17|100-150=21.99|150-=0" table_format="range"]
- AuthorPosts
- You must be logged in to reply to this topic.