instinct Posted September 12, 2013 Share Posted September 12, 2013 Hi, We have a voucher mechanism we've been using since v.1.3 so when a customer checks out and enters a voucher code, the voucher will also deduct the total amount of the order (includes the shipping cost). Eg. Products: $10 Shipping: $5 -- Sub Total: $15 Voucher: $13 Total Order: $2 But now, I am currently using version 1.5.4.1 the only option in cart rules is to apply discount "Order (without shipping)" Please help me how I can edit this setting so it also deducts shipping cost from the voucher. Thanks! Link to comment Share on other sites More sharing options...
davewalschot Posted September 20, 2013 Share Posted September 20, 2013 (edited) Found a solution already?, am bumping into the same problem. Cant understand we a gift voucher excluding shipping is the only option to choose. Not very friendly giving a gift that still needs to be payed to get delivered ;-) Edited September 20, 2013 by davewalschot (see edit history) Link to comment Share on other sites More sharing options...
flamedtofu Posted October 2, 2013 Share Posted October 2, 2013 I'm too looking for a solution to this, the option of free shipping doesn't work in our case either as we want to give people the option to pay the difference to upgrade the shipping or if they want to add more items. Link to comment Share on other sites More sharing options...
flamedtofu Posted October 4, 2013 Share Posted October 4, 2013 I did a less than perfect work around by limiting the postage to my standard option and offering free postage for my competition winners, this is less than ideal though as it limits customers ordering more items or upgrading their postage. any pointers or add on coupon modules would be amazing. Link to comment Share on other sites More sharing options...
Pressed0024 Posted November 16, 2013 Share Posted November 16, 2013 I'm also looking for a better solution. Hopefully someone post to forge.prestashop.com as Improvement so that will implement it permanantly to next upgrade. Link to comment Share on other sites More sharing options...
ptemmerman Posted November 22, 2013 Share Posted November 22, 2013 I am also looking for an option to include shipping costs in the voucher. Link to comment Share on other sites More sharing options...
Pressed0024 Posted November 22, 2013 Share Posted November 22, 2013 Any Prestashop dev member care to comment where is the best place for feature request which you will actually read? I find it ridiculous that you can apply the store voucher value to shipping as an option. I won't be able to send free gifts for contest winners, etc. Link to comment Share on other sites More sharing options...
flamedtofu Posted November 22, 2013 Share Posted November 22, 2013 I won't be able to send free gifts for contest winners, etc. You can as you can select free shipping, however I agree this isn't acceptable as then the winner can't upgrade postage, or pay the difference if they want to order more postage, I have been forced to set free postage and just cover it if someone orders more. a solution would be really great, I'd even consider paying for a module. 1 Link to comment Share on other sites More sharing options...
cdthomas23 Posted January 11, 2014 Share Posted January 11, 2014 Was there ever any progress on this? I am trying to do the exact same thing, but I do not want to offer free shipping. I have even tried adjusting CartRule.php without any luck. Were you able to get this working? Link to comment Share on other sites More sharing options...
Pressed0024 Posted January 11, 2014 Share Posted January 11, 2014 Need to suggest this in forge so that it gets official. I think it is a mandatory feature. It's stupid to make free shipping for the voucher code. It makes the voucher very rigid Link to comment Share on other sites More sharing options...
davewalschot Posted January 11, 2014 Share Posted January 11, 2014 Agree, this feature should be added Link to comment Share on other sites More sharing options...
cdthomas23 Posted January 11, 2014 Share Posted January 11, 2014 (edited) Added PSCFV-11468 to Forge. We will see if anything happens. If anyone has any idea how to do a workaround, I desperately need it. Thanks. Edited January 11, 2014 by cdthomas23 (see edit history) Link to comment Share on other sites More sharing options...
flamedtofu Posted January 13, 2014 Share Posted January 13, 2014 they've closed it saying just offer free postage Can everyone post a comment on the request? http://forge.prestashop.com/browse/PSCFV-11468 , hopefully then it might be taken more seriously. Link to comment Share on other sites More sharing options...
cdthomas23 Posted January 13, 2014 Share Posted January 13, 2014 They have opened it again, thank goodness. Still, please go vote for it to put some pressure on. Hopefully we can get this resolved. Link to comment Share on other sites More sharing options...
indus Posted January 16, 2014 Share Posted January 16, 2014 (edited) This was possible in 1.4 if i remember. Applying discounts only to shipping. I guess we have to manually make calculations now to make vouchers. Edited January 16, 2014 by indus (see edit history) Link to comment Share on other sites More sharing options...
Pressed0024 Posted January 16, 2014 Share Posted January 16, 2014 This was possible in 1.4 if i remember. Applying discounts only to shipping. I guess we have to manually make calculations now to make vouchers. It would be very stupid to make manual calculation for vouchers. I'm not surprise if this used to work since it's a very basic feature all shopping cart software should have otherwise how are we supposed to truly use the voucher system. Link to comment Share on other sites More sharing options...
fishordog Posted April 16, 2014 Share Posted April 16, 2014 bumping this thread. I still have this option in 1.4.6.2 but unfortunately not in 1.5.6.2 Link to comment Share on other sites More sharing options...
Guorilla Posted June 28, 2014 Share Posted June 28, 2014 Still no solution? I need this bad... Link to comment Share on other sites More sharing options...
jazzin Posted July 8, 2014 Share Posted July 8, 2014 Anyone have a solution? I need this just as much as everyone else. Link to comment Share on other sites More sharing options...
janthemanson Posted July 17, 2014 Share Posted July 17, 2014 I've just bumped this thread in the forge. Does anyone else need this feature?!? Bump it. Link to comment Share on other sites More sharing options...
Sam Minerve Posted December 12, 2014 Share Posted December 12, 2014 Hi, I need this feature too ! Still no solution Link to comment Share on other sites More sharing options...
jdelaparte Posted December 31, 2014 Share Posted December 31, 2014 Hi evryone. The same issue here. A solution is needed. Thanks. Link to comment Share on other sites More sharing options...
KevinNash Posted March 28, 2015 Share Posted March 28, 2015 I just bumped there, I advise everybody to do the same. Incredible that an easy and necessary voucher option like that is missing Link to comment Share on other sites More sharing options...
MaartenB Posted March 29, 2015 Share Posted March 29, 2015 I realy need a solution for this problem also. Is there no module available to solve this problem ? Link to comment Share on other sites More sharing options...
Mehdib92 Posted May 18, 2015 Share Posted May 18, 2015 Hi, I'm also looking for a solution. I tried to use Cart::BOTH instead of Cart::ONLY_PRODUCTS but it gave me a Fatal Error : Allowed memory size... Link to comment Share on other sites More sharing options...
kynoconcepts Posted May 28, 2015 Share Posted May 28, 2015 That's weird... almost 2 years with this problem AND STILL NO SOLUTION?Wow... I need a solution too 1.6.0.11 Link to comment Share on other sites More sharing options...
kynoconcepts Posted May 28, 2015 Share Posted May 28, 2015 I KNOW THE ANSWER why there is still no solution: buy the module... it's all about money :/But it's pretty bold to take it out of the standard and turn it in to a module of €89,99... http://addons.prestashop.com/en/pricing-promotion-prestashop-modules/17452-gift-card.html Link to comment Share on other sites More sharing options...
MaartenB Posted June 11, 2015 Share Posted June 11, 2015 Is it possible with this module: http://addons.presta...-gift-card.html anyone can confirm that? Link to comment Share on other sites More sharing options...
Mehdib92 Posted June 14, 2015 Share Posted June 14, 2015 Hi MarttenB, I'm using this module on a website and this module allows to buy a gift card as a product with a custom amount or a fixed amount. When an order is done, it creates a discount code but it doesn't include the shipping costs Link to comment Share on other sites More sharing options...
livrili Posted June 30, 2015 Share Posted June 30, 2015 (edited) Bumping on this, Hi everybody, basically after searching the web for a solution i've found out that in previous versions it use to be the opposite problem and someone solved the problem on this post https://www.prestashop.com/forums/topic/10211-resolu-bons-de-reduction-prise-en-compte-du-transport/ i am new to prestashop and maybe someone with good knowledge of the prestashop coding may be able to help Sorry for my bad english but i am french Thank you and hope someone could help Edited June 30, 2015 by livrili (see edit history) Link to comment Share on other sites More sharing options...
CutePanda Posted September 27, 2015 Share Posted September 27, 2015 Still no solution for this? Would love one Link to comment Share on other sites More sharing options...
Stanleyek Posted October 23, 2015 Share Posted October 23, 2015 Someone can comfirm information about this paid modules? It possible to include a shipping in this modules? Link to comment Share on other sites More sharing options...
Eolia Posted November 1, 2015 Share Posted November 1, 2015 Good news for you, the solution is here http://eoliashop.com/Modules_Prestashop/reduction-full It's a patch (no configuration needed) that add an option when creating voucher. This new option allows include shipping costs in this voucher amount 1 Link to comment Share on other sites More sharing options...
Daniel - PrestaBR Posted December 2, 2015 Share Posted December 2, 2015 Good news for you, the solution is here http://eoliashop.com/Modules_Prestashop/reduction-full It's a patch (no configuration needed) that add an option when creating voucher. This new option allows include shipping costs in this voucher amount Thanks, Eolia, but page is down for me. Can you check it? Someone confirm this patch works? Link to comment Share on other sites More sharing options...
Eolia Posted December 2, 2015 Share Posted December 2, 2015 Down ? What's the error ? Link to comment Share on other sites More sharing options...
KevinNash Posted December 2, 2015 Share Posted December 2, 2015 The page is fine for me in France Link to comment Share on other sites More sharing options...
MaartenB Posted December 2, 2015 Share Posted December 2, 2015 i'm very interested in this patch/module but i am using this voucher module: https://mypresta.eu/modules/advertising-and-marketing/gift-cards-sell-voucher-codes.html I don't think this module is compatible with the patch from Eolia? Link to comment Share on other sites More sharing options...
Eolia Posted December 2, 2015 Share Posted December 2, 2015 yes it is, my module allows to include shipping in the voucher. So, when you use the vekia's module you can edit each rule after to include them^^ Link to comment Share on other sites More sharing options...
Guest locen Posted December 15, 2015 Share Posted December 15, 2015 Hello everyone, I too have an error with the voucher, this happens only with YEN .. I enclose a photo where I explain all Link to comment Share on other sites More sharing options...
MaartenB Posted December 20, 2015 Share Posted December 20, 2015 to Eolia: Is it possible to set this option as a default? So all new created vouchers are including shipping by default. Link to comment Share on other sites More sharing options...
Eolia Posted December 20, 2015 Share Posted December 20, 2015 You can edit your tpl to force this option to be selected Link to comment Share on other sites More sharing options...
Eolia Posted January 19, 2017 Share Posted January 19, 2017 This new module is THE solution: https://eoliashop.com/code2pay Link to comment Share on other sites More sharing options...
srana Posted February 7, 2017 Share Posted February 7, 2017 Hi Guys, If anyone still looking for any solution for cart rules (voucher code) those covers the shipping cost using the existing structure then I've a custom solution. It includes few core class file changes. If I told you the procedure here which is not an easy task for a non developer. It may broke your shop due to different version files have different code. So I can offer this modification with a small cost for this service. It covers all the Prestashop versions till now. You can contact me on my S-K-Y-P-E: sitender.r Link to comment Share on other sites More sharing options...
Adveo Posted February 8, 2017 Share Posted February 8, 2017 (edited) Good morning, I actually found a pretty easy fix for this in Presta 1.6, I'm sorry if it doesn't work in other versions. Also pay attention that you have to change a core class in PrestaShop, and the code isn't running in our production environment for very long. It concerns the function "getPackageShippingCost()" in the Cart class (classes/Cart.php); There I've changed: $order_total = $this->getOrderTotal(false, Cart::ONLY_PHYSICAL_PRODUCTS_WITHOUT_SHIPPING, $product_list); Into: //get cart rules for discount amount, so the gift product doesn't get included in the shipping cost $cart_rules = $this->getCartRules(); $total_free_gifts = 0; foreach($cart_rules as $cart_rule){ if($cart_rule['gift_product'] != ""){ $value = $cart_rule['value_tax_exc']; $total_free_gifts += $value; } } // Order total in default currency without fees $order_total = $this->getOrderTotal(false, Cart::ONLY_PHYSICAL_PRODUCTS_WITHOUT_SHIPPING, $product_list); //exclude free gifts from order total $order_total = $order_total - $total_free_gifts; Hope this helps anyone. Edited February 8, 2017 by Adveo (see edit history) Link to comment Share on other sites More sharing options...
kinderyum Posted March 7, 2017 Share Posted March 7, 2017 Looking for a solution too.... Link to comment Share on other sites More sharing options...
mortenbennedsen Posted March 30, 2017 Share Posted March 30, 2017 Is that all? I've added the code to test for a PrestaShop 1.6.1.4 - it didn't change anything :-) Have you changed other files? Link to comment Share on other sites More sharing options...
Recommended Posts