• Resolved Aeit

    (@mynicknamehasbenstolen)


    This is my 3rd day when im struggling with rather easy problem.
    And solution might be simple for some of you but this is my first site that is still in dev.

    The thing is that im creating a shop with many shipping options.
    What im trying to accomplish is to
    1. hide all payment methods when using cash od delivery shipping besides cod payment(which is used to finalize order)
    2. hide most shipping methods when free delivery is possible
    3. and some other restrictions (that work as for now)

    I tried plugin combos:

    But the thing is that {conditional shipping and payment plugin} “cant see”
    additional shipping method added by {extra flat rate plugin} or {advanced shipping plugin}

    Also changing international or local delivery to COD shipping isn’t an option sice i have to add specific zip codes or countries to make this method work.

    I have run out of time, ideas and cash for another non-cooperating plugins
    Maybe there’s an option to clone flat rate inside php or some mystical sh!t so restriction plugin can finally see it as COD shipping?

    Im using newest wp+woocommerce + newest flatsome theme.

    Peace and please help

    https://www.ads-software.com/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter Aeit

    (@mynicknamehasbenstolen)

    my links were removed.
    i tried:

    https://www.woothemes.com/products/conditional-shipping-and-payments/
    +
    www.ads-software.com/plugins/woo-extra-flat-rate/
    and
    codecanyon.net/item/woocommerce-advanced-shipping/8634573

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    I dont have any php knowledge nor time to learn it now … but it dost look like simple flat rate.
    And hiding other shipping methods when free one is available is not exactly what im looking for. Because there are other restrictions.

    I also have tried this:

    add_action( 'woocommerce_flat_rate_shipping_add_rate', 'add_another_custom_flat_rate', 10, 2 );
    
    function add_another_custom_flat_rate( $method, $rate ) {
    	$new_rate          = $rate;
    	$new_rate['id']    .= ':' . 'custom_rate_name'; // Append a custom ID
    	$new_rate['label'] = 'Rushed Shipping'; // Rename to 'Rushed Shipping'
    	$new_rate['cost']  += 2; // Add $2 to the cost
    
    	// Add it to WC
    	$method->add_rate( $new_rate );
    }

    to add normal flat tare … but it doesn’t show up in woocommerce>settings>shipping

    There’s no option to clone flat rate inside woocommerce?
    Is this possible to turn international/local shipping into flat rate (removing coutry and zip otions)?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    2.6.0 supports multiple flat rates.

    If you need help writing code, suggest you hire someone on jobs.wordpress.net

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    Whoa havent noticed todays update. Feature looks very promising but its not working for me.

    [yes i have set shipping to all countries]
    after naming a zone and choosing specific region the ‘+’ button is inactive and i cant press it. In short i cant add shipping methods to zone i want to make. But it works fine for rest of the world.
    https://i.imgur.com/h1PasJB.jpg

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Click the zone name on the left to go into the method view.

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    My bad i forgot to save after adding region … only after that adding shipping methods is possible.
    Well great that i could add more flat rates and rename it but that’s all.

    WooCommerce Conditional Shipping and Payments still dont recognize different flat rates … this plugin treats them as one group so its completely impossible to make any shipping and payments restrictions.
    Lets say that i have 4 flat rates 2-for my country 2- for rest of the world
    WCSaP still treat them as one flat_rate …

    i run out of ideas and plugins …

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    You don’t need to mix them though.

    1. hide all payment methods when using cash od delivery shipping besides cod payment(which is used to finalize order)

    Cash on delivery is a payment method, not a shipping method.

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    Cash on delivery is a payment method, not a shipping method.

    Thats the problem, when someone want to choose cod he must pay for it too so … it must be both payment and shipping method.

    It will be easier to understand looking on full scheme.
    [..]-applies for

    Shipping methods:
    1. FedEx – xx$ [b,c,d]
    2. COD – xx$ or xx$+% [a]
    3. Free shipping – 0= tot.cost>xxx$ [b,c,d]
    4. Local pickup – 0 [a,b,c,d]

    Payment methods:
    a. Pay when receiving – shows only after choosing local pick up and COD (in second case payment methods b,c,d will turn off) also its unavailable for shipping method 1 and 3
    b. custom pay gateway nr.1 [1,3,4]
    c. custom pay gateway nr.2 (supports mobile) [1,3,4]
    d. traditional bank transfer – based on invoice manually send by me [1,3,4]

    This is one of most important things … if its impossible to achieve i have to resign form WP completely.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    The conditional shipping and payments plugin lets you base them on oneanother – pretty certain of this. How far did you get with setup?

    If not, you can get something custom coded I’m sure (jobs.wordpress.net for help).

    Don’t know what you’re asking about ‘custom pay gateway’. Those need building by yourself/a developer if no extension exists.

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    The conditional shipping and payments plugin lets you base them on oneanother – pretty certain of this.

    No.
    Because … FedEx = flat_rate and COD= flat_rate – conditional shipping and payment DO NOT distinguish different flat_rates made by newest feature called shipping zones nor any other plugin that add flat rates.

    {custom pay gateway nr.1 and 2} are my gateways that i already own no problem with that.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    heh. Good luck ??

    Thread Starter Aeit

    (@mynicknamehasbenstolen)

    Well i dont know what im doing wrong but conditional shipping and payments plugin is missing that feature for sure.

    I have updated everything to latest versions and now i can see my custom flat rates but … thres no condition like exclude shipping or exclude payment.

    settings> restrictions> shipping methods>

    and now what im doing:

    Short Description: COD shipping
    Exclude Shipping Methods: none
    Condtions avalible:
    1.card total
    2.billing country
    3.shipping country
    4.category
    5.shipping class
    6.package weight
    7.customer
    8.customer role

    I dont need any of those restricions besides “Payment”
    If i could choose to exclude payment methods that it would be done.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Need additional shipping method.’ is closed to new replies.