• Resolved zvonenko

    (@zvonenko)


    Hi!
    We provide online services so we don’t need a shipping address. How can we disable shipping?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author fullworks

    (@fullworks)

    Thank you for your interest.

    Presently there is no option to suppress delivery address. It is a good idea to have such an option and I will add that to the wish list for a future release.

    Alan

    Thread Starter zvonenko

    (@zvonenko)

    Thanks for answer
    Perhaps you can suggest how to do this in code? At least in which file to look for

    Plugin Author fullworks

    (@fullworks)

    If you want to modify the plugin then you can do so of course it is GPL.

    Find function qpp_process_form
    in legacy/quick-paypal-payments.php

    and find

    <input type=”hidden” name=”currency_code” value=”‘.$currency[$id].'”>’;

    and add no_shipping

    e.g.
    <input type=”hidden” name=”currency_code” value=”‘.$currency[$id].'”>
    <input type=”hidden” name=”no_shipping” value=”1″>’;

    Of course this is just guidance, I haven’t tested it and changes you make are as always at your own risk. ( as it the use of the plugin anyway )

    Of course any changes you make would be overwritten by releases, so it will be up to you to ensure you have a mechanism to stop that – I would recommend completely cloning the plugin changing the plugin name etc.

    If you like, I could actually add this as an option within the core plugin, but that will take me time to code / test / release and for my time I do need to charge costs.

    Plugin Author fullworks

    (@fullworks)

    I meant to add the definition for reference

    no_shipping
    Optional
    Do not prompt buyers for a shipping address.

    Valid value is:

    0. Prompt for an address, but do not require one.
    1. Do not prompt for an address.
    2. Prompt for an address and require one.
    Default is 0.

    Character Length: 1

    Thread Starter zvonenko

    (@zvonenko)

    It works
    Thank you so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable delivery’ is closed to new replies.