Redirect customer from external website with domain search form to PBAS Store

Discussion in 'News & Announcements' started by dkolvakh, Sep 4, 2013.

  1. dkolvakh

    dkolvakh Odin Team

    Messages:
    346
    Hello.

    The Pre-selector functionality, introduced earlier, has been extended with an ability to accept Domain Search form data. Now you can place simple Domain Search form anywhere on your website, and redirect customer to display lookup results to the new PBAS 4.3.4 Store. Additionally, you can redirect customer to Store with pre-selected Hosting Plan configuration simultaneously with domain lookup.

    List of form parameters:
    • form action: http://<YOURDOMAIN.TLD>/shop/en/redirect/<LINK_ID>
    • form method: POST
    • dm_action
    • domain_selection_type
    • domain_name
    • tld[]
    • domain_names
    Where:
    <YOURDOMAIN.TLD> - domain name of your PBAS MN;
    <LINK_ID> - link to any of pre-configured packages from your pre-selector, or link to Domains tab. For example: http://dev.myhspc.com/shop/en/redirect/c_domains.
    Possible values for dm_action: register_new, reg_transfer, domain_pointer. Default value: register_new.
    Possible values for domain_selection_type: single, multi. Default value: single.
    If you choose "single" for domain_selection_type, you should specify domain_name and tld[] parameters. If no one tld is set, list of default tlds for lookup will be used.
    If you choose "multi" for domain_selection_type, you should specify domain_names parameter.

    HTML with working form example is in attachment. Please note, that all fields are visible in it just for your reference. You can hide unneeded input fields in production website, indeed.

    Your comments and suggestions are welcome.

    --
    Regards,
    Denis Kolvakh
    Parallels
     

    Attached Files:

    Last edited: Sep 4, 2013
  2. FX Pro Design

    FX Pro Design Bit Poster

    Messages:
    2
    How can i get this to work with Customer and Business Manager Domain reg form?? is it possible?
     
  3. dkolvakh

    dkolvakh Odin Team

    Messages:
    346
    Please describe your workflow in more details.
     
  4. Pavel74

    Pavel74 Bit Poster

    Messages:
    6
  5. dkolvakh

    dkolvakh Odin Team

    Messages:
    346
    Hello.

    Is it a question or statement?
     
  6. Pavel74

    Pavel74 Bit Poster

    Messages:
    6
    It is question.
     
  7. dkolvakh

    dkolvakh Odin Team

    Messages:
    346
    Here is a setting for a dynamic store, which controls that functionality, introduced in PBAS 4.5.3:

    ; Defines whether the available for registration or transfer domain names are added to the Shopping Cart after lookup.
    ; The possible values are: ON_FIRST_LOOKUP, NEVER, ALWAYS. Default value is: ON_FIRST_LOOKUP.
    ; ADD_AVAILABLE_DOMAIN_TO_CART = 'ON_FIRST_LOOKUP'
     
  8. Pavel74

    Pavel74 Bit Poster

    Messages:
    6
    The ability to dynamically change this setting? For example, in a normal scan domains is disabled, and it is set to "ON_FIRST_LOOKUP" in the transition from an external site?
     
  9. dkolvakh

    dkolvakh Odin Team

    Messages:
    346
    There are no ability to change this setting on-the-fly, except deep customizing. And I suppose, there are shouldn't be such ability, because introduced setting cover all aspects of domain lookup behavior.
     

Share This Page