Jump to content

Add domain extension to cart.php link


Recommended Posts

Is it possible to add a string to /cart.php?a=add&domain=register so it automatically includes a specific domain extension like we can do for promo codes?

For example, you have a promotion on a particular extension (XYZ) and you want to provide a link that will take them to the checkout page and prepopulate the  XYZ extension. Now when you search for mydomain it searches for mydomain.xyz instead of the default mydomain.com.

Link to comment
Share on other sites

14 hours ago, riddimhost said:

For example, you have a promotion on a particular extension (XYZ) and you want to provide a link that will take them to the checkout page and prepopulate the  XYZ extension. Now when you search for mydomain it searches for mydomain.xyz instead of the default mydomain.com.

I think for something like that, Chris' link suggestion wouldn't work because you wouldn't know what 'google' is - the client would have to enter that.

I suppose you could use a custom form, with .xyz as a hidden field and pass that form to the domain register page to being the search... e.g they enter "brian" in a text field, and the form passes that along with .xyz and then shows search results for brian.xyz - to pass a specific TLD to the form to search would not be straightforward - certainly with standard_cart, though possibly easier with Modern.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated