ouldfella Posted November 24, 2019 Share Posted November 24, 2019 Hello, I created a promotion in configuration/product&services/promotions but the promotion doesn't appear in bying product process when i istablish invoice the price of invoice is the price of product without promotion 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 24, 2019 Share Posted November 24, 2019 how did you order the product? from the admin area ?? if via client area, was the promo code valid ?? 0 Quote Link to comment Share on other sites More sharing options...
ouldfella Posted November 24, 2019 Author Share Posted November 24, 2019 thanks for your reply, i just do a test ordering a prodect via client area, the price doesn't changed 0 Quote Link to comment Share on other sites More sharing options...
DigitalBS Posted November 24, 2019 Share Posted November 24, 2019 Did you place the promo code in the promotional code box on the cart page? Did you select the billing periods in the admin panel for the promo code? Did you choose the products that the promo code can be used against? 0 Quote Link to comment Share on other sites More sharing options...
ouldfella Posted November 24, 2019 Author Share Posted November 24, 2019 (edited) thanks for your reply, i didn't place anything in other place, i just create promotion for somme products so, is there another steps todo for promotions to be applied ? what does it mean code box ??? and where i can find it ? where i can find biling code ?? Edited November 24, 2019 by ouldfella 0 Quote Link to comment Share on other sites More sharing options...
DigitalBS Posted November 24, 2019 Share Posted November 24, 2019 Ok, that all looks good. On your front end, when you are placing the order. You have to put the code, T5T2..... in the yourdomain.com/cart.php?a=checkout page. Did you do that? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 24, 2019 Share Posted November 24, 2019 1 hour ago, ouldfella said: i didn't place anything in other place, i just create promotion for somme products so, is there another steps todo for promotions to be applied ? yes - either the client has to enter the promo code themselves when ordering... or you pass the promotion code in the URL link to the product (or cart)... https://docs.whmcs.com/Promotions#Promotion_Links possibly your custom orderform theme doesn't include a promo code area for the clients to enter their codes into - I had a quick look, and I couldn't see one. 0 Quote Link to comment Share on other sites More sharing options...
DigitalBS Posted November 24, 2019 Share Posted November 24, 2019 How would he/we add it to the order form? 0 Quote Link to comment Share on other sites More sharing options...
ouldfella Posted November 25, 2019 Author Share Posted November 25, 2019 (edited) thanks for all your reply, is there a way to add promotion code ti the link in backend interface ? or i must edit a source code ? Edited November 25, 2019 by ouldfella 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 25, 2019 Share Posted November 25, 2019 18 hours ago, DigitalBS said: How would he/we add it to the order form? as a starting point, i'd copy & paste the code from standard_cart/viewcart.tpl (lines 386->450, but take out the estimate taxes tab 418-448)... that will tell you whether you can add/remove promo codes that way in your custom template... if/when it works,m then it's just a case of adjusting the styling/divs to suit your exiting form design. though if it was a commercial orderform template, i'd suggest going back to its developers and seeing if the feature already exists somewhere in the template. 3 hours ago, ouldfella said: is there a way to add promotion code to the link in backend interface ? in the admin area? not really. 3 hours ago, ouldfella said: or i must edit a source code ? editing the link would be the easiest way, either to the product groups (as you have done in your menu), or to individual products on their Buy Now buttons.. theoretically, if you had a lot of products, it might be worth considering using hooks, and/or modifying a products template, to add the appropriate promo codes to each product/group - but whether that's feasible depends on your ordering process... I think it would be doable with Six/SC, but you're not using them! also remember that you can only use one promo code in the cart, so if they ordered shared hosting and a VPS (each with their own promo code), then only one promo code would be applied. 0 Quote Link to comment Share on other sites More sharing options...
ouldfella Posted November 26, 2019 Author Share Posted November 26, 2019 Thanks Brian for your reply, i added it in header.tpl that contain the menu link thanks alot. 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.