Jump to content

Subdomain preselected direct link doesn't work with product bundle


onliner

Recommended Posts

Hello,

Is there a way to use a subdomain preselected link with a product bundle? I've been trying to solve this, but no luck so far. Maybe it is not possible by the system logic.

To use subdomain preselected with the Direct Shopping Cart Link for a standard product works well.

 

This works:

https://mysitexx.neeeet/cart.php?a=add&pid=2&domainoption=subdomain&sld=google

 

Trying to use this with bundle doesn't work:

https://mysitexx.neeeet/cart.php?a=add&bid=4&domainoption=subdomain&sld=google

 

The process opens the domain registration, but without the preselected subdomain.

Maybe I'm missing the point here?

Thanks in advance.

  

 

Link to comment
Share on other sites

18 minutes ago, onliner said:

Maybe it is not possible by the system logic.

I don't think it would be - I guess the logic would be with a direct product, WHMCS knows which product you're talking about; whereas with a bundle, it wouldn't (I assume even if there was only one product in the bundle).

I can't think of an obvious simple workaround - though that isn't helped by subdomains not seeming to work in v7.6b1... unless i'm missing something. :?:

Link to comment
Share on other sites

4 minutes ago, brian! said:

WHMCS knows which product you're talking about

Thanks for your input.

I was under impression that 'Details >> Require Domain' filed for product config could help in this matter. But nope this time. I'll guess that I'll need to take care of product provisioning manually...

Thanks.

Link to comment
Share on other sites

4 minutes ago, brian! said:

I suppose the usual horrible WHMCS solution would be to duplicate the product, hide it, change the subdomain order list to put your default subdomain first, and then use that product in the bundle. 9_9

Yes, but it will still not pass over the preselected subdomain value to the cart in such scenario.

Link to comment
Share on other sites

preselection in what sense ? you're determining which subdomains are shown with the product and in which order by how the product is setup... if you want to ensure they only have one subdomain option, just use one subdomain option in the product used with the bundle.

Link to comment
Share on other sites

7 minutes ago, onliner said:

Maybe we missunderstand eachother.

sorry - i'm with you now.... got distracted by subdomains not working in v7.6 and assumed you were talking about the subdomains themselves rather than the SLD value. aaah.gif

8 minutes ago, onliner said:

Try to get this passed through a product bundle

I don't think it would work because only the PID value would be passed with a bundle redirection, everything else would be dropped.

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