SIM Posted July 19, 2020 Share Posted July 19, 2020 Hi can someone please give me the exact path to follow to add my promo code to product url so discount will automatically apply to product 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted July 19, 2020 Share Posted July 19, 2020 1 hour ago, SIM said: Hi can someone please give me the exact path to follow to add my promo code to product url so discount will automatically apply to product Add &promocode= followed by your unique code at the end of your URL cart.php?promocode=TEST OR cart.php?a=add&pid=1&promocode=TEST 1 Quote Link to comment Share on other sites More sharing options...
SIM Posted July 19, 2020 Author Share Posted July 19, 2020 when i go to products and services >>products and services >> edit products>>links the links in that section do not allow me to edit to add promo code, the only thing it allows is, to copying the link so I'm asking the path to find the links where I can add my promo code 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted July 19, 2020 Share Posted July 19, 2020 You copy that link (Found under product edit > links) and add &promocode= To the end of it. Then insert the hyperlink into your webpage, send it in an email to your customer, etc 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 19, 2020 Share Posted July 19, 2020 and if the promocode exists, and the products in the cart and their current configurations match the conditions of the code, then it should be applied automatically. if it isn't, then either the promocode doesn't exist, or more likely, the configuration of the promocode is slightly incorrect, e.g requires/applies/billingcycle etc. 0 Quote Link to comment Share on other sites More sharing options...
SIM Posted July 19, 2020 Author Share Posted July 19, 2020 where in my webpage do I insert the link? I am not using wordpress only whmcs 0 Quote Link to comment Share on other sites More sharing options...
Evolve Web Hosting Posted July 19, 2020 Share Posted July 19, 2020 2 hours ago, SIM said: where in my webpage do I insert the link? I am not using wordpress only whmcs Are you only using WHMCS or do you have additional web pages surrounding it? You are right that you can't edit the links found under product edit. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 19, 2020 Share Posted July 19, 2020 1 hour ago, SIM said: where in my webpage do I insert the link? I am not using wordpress only whmcs the way you've done it in the products.tpl template will work. if applicable products are added to the cart, then the promocode will discount those products. if promocode valid but no applicable products found, then there is usually a message at viewcart that the promo code has been applied, but no applicable products found. in your case, the '55off' discount code doesn't exist - so the links are just passing an invalid promocode which won't generate any kind of visual warning, the promocode will just be ignored. have you actually created the promotion code that will be applied to these products ? https://docs.whmcs.com/Promotions 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.