Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Gift Voucher Checkout Confirmation Problem


Guest

Recommended Posts

I've installed the gift voucher system and it's working fine as far as I know. But when I go to checkout_confirmation.php the "ship to" information doesn't show up. Is it supposed to?

Link to comment
Share on other sites

*bump* this seems like really simple problem, yet I'm unable to figure it out. There has to be someone out there who's 1) encountered it or 2) has heard of it and knows a solution.

Link to comment
Share on other sites

OK, I've figured more of this problem out. In checkout_shipping.php, since I have the Gift Voucher contrib installed, this line

if ($order->content_type == 'virtual')
{
if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
$shipping = false;
$sendto = false;
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
}

 

now looks like this

 

#if ($order->content_type == 'virtual')
if (($order->content_type == 'virtual') || ($order->content_type == 'virtual_weight') )
{
if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
$shipping = false;
$sendto = false;
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
}

But everytime I create a new 'order' object the 'content_type' is set to virtual_weight and thus skips over the checkout shipping step. Does anyone know why is this could be happening?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...