Has anyone been able to make this work? I want a coupon that gives $10 off and free shipping. I set up each of those coupons individually and tested that they work fine. I then created a parent coupon called "combo". When you enter it nothing happens. No error is displayed. I tried entering it at every stage of checkout...same thing. I thought maybe it was the shipping coupon that was messing it up. I tried creating one coupon that gives $10 off and another that gives $5 and then a parent named 15, and that didn't work either. Ideas? I am on Virtuemart 1.1.7.
Can't get parent coupon to work
- Hello,
did you upgrade from a previous version of AwoCoupon or installed it as a fresh install. If you installed it as a fresh install, run this query in your database and then recreate the parent couponalter table jos_awocoupon modify `function_type2` enum('product','category','manufacturer','vendor','shipping','parent') DEFAULT NULL;
Hopefully that fixes the problem - I had installed as a fresh install. The only problem I am having now is that the customer still sees what follows below at checkout. Until that is resolved I can't use shipping coupons. Any easy fix to that? Thanks for the help.
Warning: constant() [function.constant]: Couldn't find constant USPS_SHIP17 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 20
Warning: constant() [function.constant]: Couldn't find constant USPS_SHIP18 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 20
Warning: constant() [function.constant]: Couldn't find constant USPS_SHIP19 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 20
Warning: constant() [function.constant]: Couldn't find constant USPS_SHIP20 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 20
Warning: constant() [function.constant]: Couldn't find constant USPS_SHIP21 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 20
Warning: constant() [function.constant]: Couldn't find constant USPS_SHIP22 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 20
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL12 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL13 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL14 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL15 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL16 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL17 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL18 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL19 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24
Warning: constant() [function.constant]: Couldn't find constant USPS_INTL20 in /home/bpoint/public_html/glutenfreevitamins.com/administrator/components/com_awocoupon/assets/shipping/uspsv4.php on line 24 - yes, this also will be fixed in the version after 1.3.1.
in www/administrator/components/com_awocoupon/assets/shipping/uspsv4.php, around line 19, change this<?php
for($i=0; $i<23; $i++) {
$enabled = constant('USPS_SHIP'.$i);
if(!empty($enabled)) $this->shipping_list[constant('USPS_SHIP'.$i.'_TEXT')] = 1;
}
for($i=0; $i<21; $i++) {
$enabled = constant('USPS_INTL'.$i);
if(!empty($enabled)) $this->shipping_list[constant('USPS_INTL'.$i.'_TEXT')] = 1;
}
?>
to this<?php
for($i=0; $i<23; $i++) {
if(defined('USPS_SHIP'.$i)) {
$enabled = constant('USPS_SHIP'.$i);
if(!empty($enabled)) $this->shipping_list[constant('USPS_SHIP'.$i.'_TEXT')] = 1;
}
}
for($i=0; $i<21; $i++) {
if(defined('USPS_INTL'.$i)) {
$enabled = constant('USPS_INTL'.$i);
if(!empty($enabled)) $this->shipping_list[constant('USPS_INTL'.$i.'_TEXT')] = 1;
}
}
?> - Super!
Thanks so much. Works great! - both problems fixed as of version 1.3.2.
- There is no button next to "check for updates" on the dashboard. Not sure where to get update.
- https://awodev.com/documentation/frequently-asked-questions#install-upgrade