onliner Posted July 12, 2018 Share Posted July 12, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 12, 2018 Share Posted July 12, 2018 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. 1 Quote Link to comment Share on other sites More sharing options...
onliner Posted July 12, 2018 Author Share Posted July 12, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 12, 2018 Share Posted July 12, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
onliner Posted July 12, 2018 Author Share Posted July 12, 2018 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. Yes, but it will still not pass over the preselected subdomain value to the cart in such scenario. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 12, 2018 Share Posted July 12, 2018 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. 0 Quote Link to comment Share on other sites More sharing options...
onliner Posted July 12, 2018 Author Share Posted July 12, 2018 (edited) Yes, but the problem is that the 'google' part of the subdomain (see first post) will not be passed over, prefilled. Maybe we missunderstand eachother. Try to get this passed through a product bundle: https://siterrere.neeet/cart.php?a=add&pid=2&domainoption=subdomain&sld=google Edited July 12, 2018 by onliner 0 Quote Link to comment Share on other sites More sharing options...
onliner Posted July 12, 2018 Author Share Posted July 12, 2018 Desired result after clicking on the product bundle direct linking code including the subdomain. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 12, 2018 Share Posted July 12, 2018 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. 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. 0 Quote Link to comment Share on other sites More sharing options...
onliner Posted July 12, 2018 Author Share Posted July 12, 2018 No problem thanks :) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.