i also tried creating a new category and the item again and it didn't make a different. the category is Gift Voucher and the produce is $## Gift Voucher where the ## is the numeric value.
i also tried creating a new category and the item again and it didn't make a different. the category is Gift Voucher and the produce is $## Gift Voucher where the ## is the numeric value.
Why would a Virtual Product like a Gift Voucher need a shipping method?
What happens when you test a physical product, does the Table Rate shipping now show?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
They have them set up as a regular item. All other products have the Table Rate option visible. If I add an item along with the Gift Voucher it allows Table Rate. Only if the Voucher Item is by itself. The category and products match other categories and products as far as the way they are setup. I've also uninstalled Table Rate and reinstalled.
In tracing through the quote method of classes/shipping.php the line:
if (zen_not_null($module)) {
is resolving as null when only the Voucher Item is in the basket. When trying to checkout it says:
Sorry, we are not shipping to your region at this time.
function quote($method = '', $module = '', $calc_boxes_weight_tare = true) {
$quotes_array = array();
if ($calc_boxes_weight_tare) $this->calculate_boxes_weight_and_tare();
if (is_array($this->modules)) {
$include_quotes = array();
reset($this->modules);
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if (zen_not_null($module)) {
if ( ($module == $class) && ($GLOBALS[$class]->enabled) ) {
$include_quotes[] = $class;
}
} elseif ($GLOBALS[$class]->enabled) {
$include_quotes[] = $class;
}
}
$size = sizeof($include_quotes);
for ($i=0; $i<$size; $i++) {
$quotes = $GLOBALS[$include_quotes[$i]]->quote($method);
if (is_array($quotes)) $quotes_array[] = $quotes;
}
}
return $quotes_array;
}
Last edited by kellan4459; 31 Jul 2009 at 05:31 AM. Reason: added to
They have them set up as physical products. I changed it to virtual - no shipping address req'd and it will allow me to check out. I'm fine with that and I'm sure they will be as well since when I add another item the Table Rate shows up. I guess my question is why isn't it working as a physical item?
The Gift Vouchers or Gift Certificates are set up as a Virtual Products with the Model starting with GIFT and there is NO shipping on a Virtual Product so ALL shipping modules disappear ...
Settings are:
Product is Virtual: Yes, Skip Shipping AddressA Gift Voucher/Certificate will skip the checkout_shipping page when setup correctly ...Always Free Shipping: No, Normal Shipping Rules
When a Product is added to the cart containing a Gift Voucher/Certificate you will then see the checkout_shipping and should see your Table Rate ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Gift Certificates is a "special" feature of Zen Cart ... the key to that is that they are marked as Virtual Products *and* their Model must start with:
GIFT<anything or nothing here>
This triggers various events that must take place on Gift Certificates for functionality of tracking, redeeming, mailing, etc. ...
Gift Vouchers/Certificates are "Cash" and must be treated separately from other Products so that they can work properly with the checkout or sending to a friend etc.
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Sorry last question on this subject, I promise.
So had the Category been Vouchers and the items name
Voucher $## they would have been able to do the physical item?
I'm not sure why they chose the way they did, but they are selling the item and they are creating a one time coupon for that amount for the customer as opposed to creating a gift certificate and e-mailing through Zen.
Thanks again for your wonderful help and I truly appreciate your time.
The name of the Category has no meaning to the Gift Vouchers/Certificates in Zen Cart ...
The name of the Product has no meaning to the Gift Vouchers/Certificates in Zen Cart ...
The Product Model number must begin with the letters, in ALL CAPS, with:
GIFT
If a site wants to offer Gift Certificates where a customer can purchase a Gift Voucher/Certificate for $XX.XX and then:
1 use it themselves
2 send to a friend or two
3 be sent one from the "Admin" to later be used on an order or sent to a friend
4 Discounts and Purchases with Gift Certificates are handled in a special manner to prevent conflicts which could result in the transfer of Gift Certificates/Discounts in combinations that would result in "paying the customer" to use them or result in giving "free" products to the customer via creating multiple accounts and using Gift Certificates and Discount Coupons to "manipulate" the balances in the customer's favor ...
The "rules" for Gift Certificates must be followed ... if you expect them to "work" in the online store in any manner that is automated and correct from a business stand point ...
If the store owner wants to make a physical product and treat it as a "Gift Voucher/Certificate" in some other manner than what is built in to Zen Cart then it would be just that ... a physical product and not be used in any automated redemption method during checkout nor be able to be transferred to another person ... such as when Grandma wants to get little Tiny Tim a shiny new crutch but doesn't know which one he would want so she "buys" a Gift Certificate for $XX.XX and then "sends" it to little Tiny Tim by using the built in features of Zen Cart ...
NOTE: If they are setup as a "Physical" Product ... just how does one put the Gift Voucher/Certificate in the CD ROM Drive to send it to the store to redeem it on an order?![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
NOTE: Gift Certificates are CASH ... this means they NEVER expire ...
Discount Coupons CAN expire as no CASH transaction took place to obtain them ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!