Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter heavyfurniture

    (@heavyfurniture)

    Hi Caleb,

    Ends up I was entering the code in the right place but needed to add it to both Shipping Zones flat rate amounts for it to filter/take.

    I also needed to adjust the code just a little for my purposes since I want to charge the full flat rate per item based on quantity. And have tiers as well.

    The code that made it work for me was:

    Base flat rate amount: 0 + ( 75 * [qty] )
    Additional tier 1: 0 + ( 25.00 * [qty] )
    Additional tier 2: 0 + ( 50.00 * [qty] )

    After adding the shortcode to both my Rest of USA and New York shipping zones, things worked right as rain.

    Golden.

    Thread Starter heavyfurniture

    (@heavyfurniture)

    Thank you, Caleb. I looked at the link then used your response to search for an explanation on how to implement it.

    The article was helpful in so much as providing the short code I need but I don’t know where to implement it. Speaking of the section here – https://docs.woocommerce.com/document/flat-rate-shipping/#examples

    I tried to insert it into the Flat rate shipping fields via the new Shipping Zones method (not using the legacy methods) and it did not take.

    The short code I entered was: 75 + ( 75 * [qty] )

    So, for a flat rate shipping of 75 per item, I want to charge an additional 75 based on the qty in the cart.

    If you have the time and knowledge, was wondering if the short code I am using is right? And if I am applying the short code in the right place? Meaning – the text field where one sets the cost of Flat Rate Shipping in the current WooCommerce dashboard.

    Thread Starter heavyfurniture

    (@heavyfurniture)

    Adding a final comment so that I can mark this topic as “Resolved”

    Thread Starter heavyfurniture

    (@heavyfurniture)

    Hi Claudio,

    Thank you for the support/info. Based on your recommendation I found the fix with a slight variation on what you said or you said it and I didn’t understand at first. All in all we are good. Here are the steps that I did:

    1. Adding the United States to the Local Delivery option posted in the screenshot above.

    2. Adding “Flat Rate” as a “Shipping Method(s)” to the Local Delivery Shipping Option with my pricing.

    3. Added “Local Pickup” as a “Shipping Method(s) to the Local Delivery Shipping Option.

    4. Pulled that to the top of the list on the main, default “Shipping Zones” dashboard/page list. And renamed it “NYC Delivery Options.”

    5. Renamed the “Domestic Shipping” shipping zone shown in the screenshot above to “Rest of USA” options.

    It worked. Here’s a screenshot of the fix for other people on this forum. I’ll host it for as long as I can.

    Screenshot of configuration/fix that worked for me.

    Thank you for the help.

Viewing 4 replies - 1 through 4 (of 4 total)