dgilbert Posted May 10, 2010 Share Posted May 10, 2010 Does anyone know how a customer can click a button on our website to go DIRECTLY to that products details (the page with the price and options that looks like a receipt) in the shopping cart instead of being directed to our list of products in the shopping cart? For example Clicking "buy now" button from our website: https://xxxxx.xxxxxx.com/cart.php?a=confproduct&i=1 Redirects to: https://xxxxxxx.xxxxxxxx.com/cart.php We rather not have our list of products when you already decided what you wanted. Anyone know? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 10, 2010 WHMCS Support Manager Share Posted May 10, 2010 Yes, please review http://wiki.whmcs.com/Linking_to_WHMCS 0 Quote Link to comment Share on other sites More sharing options...
dgilbert Posted May 10, 2010 Author Share Posted May 10, 2010 Yes, please review http://wiki.whmcs.com/Linking_to_WHMCS I already clicked there. What's happening is it is REDIRECTING back to cart.php instead of staying on: /cart.php?a=confproduct&i=1 So I need an explanation on why it's redirecting. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 10, 2010 WHMCS Support Manager Share Posted May 10, 2010 What's the exact URL you are using? 0 Quote Link to comment Share on other sites More sharing options...
dgilbert Posted May 12, 2010 Author Share Posted May 12, 2010 What's the exact URL you are using? Thanks for replying. The 2 "buy now" buttons should stay where they are linked to but go to cart.php which causes problems. http://www.lowpricedomains.com/ssl/alpha-ssl.php 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 12, 2010 WHMCS Support Manager Share Posted May 12, 2010 You should by using Standard: https://billing.lowpricedomains.com/cart.php?a=add&pid=20 Wildcard: https://billing.lowpricedomains.com/cart.php?a=add&pid=34 You can see the PID in your browser's URL bar when editing the product in the admin area. 0 Quote Link to comment Share on other sites More sharing options...
dgilbert Posted May 12, 2010 Author Share Posted May 12, 2010 You should by using Standard: https://billing.lowpricedomains.com/cart.php?a=add&pid=20 Wildcard: https://billing.lowpricedomains.com/cart.php?a=add&pid=34 You can see the PID in your browser's URL bar when editing the product in the admin area. Thanks! That works for that product but why does: https://billing.lowpricedomains.com/cart.php?a=add&pid=20 redirect to https://billing.lowpricedomains.com/cart.php?a=confproduct&i=9 ??? I'm having trouble figuring out the next links for the other 3 SSL certificates. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 13, 2010 WHMCS Support Manager Share Posted May 13, 2010 What problem are you having creating the links for the other products? 0 Quote Link to comment Share on other sites More sharing options...
dgilbert Posted May 13, 2010 Author Share Posted May 13, 2010 Honestly if i can understand the point of the redirect, it might clarify everything. https://billing.lowpricedomains.com/cart.php?a=add&pid=20 This REDIRECTS somewhere else. Do you see what I'm saying? Why does it move? Adding a new number to the end to get the next product up just sends me to cart.php (overview of products.) 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 13, 2010 WHMCS Support Manager Share Posted May 13, 2010 When you add an item to your cart it is assigned an ID, the first product you add will have a confproduct&i=0, the second will be confproduct&i=1, the first confproduct&i=2 and so on. This ID is unique to your shopping cart for this particular visit. If you leave the site and come back, the first product you add to the cart will have a confproduct&i=0 again. The link you need to use contains the product's ID, this is an ID number unique to each product in your system. Think of &pid=20 like the permanent URL of that product, it will always refer to one specific product. While confproduct&i=0 is just a temporary URL of the first product to be added to the shopping cart by that particular client on that particular visit. 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.