cczernia Posted March 7, 2006 Posted March 7, 2006 I installed the Purchase Without Account contribution and it seems to be working good. However, the option to change the billing address in checkout_shipping.php, and checkout_payment is no longer available. Anyone know how to get it back? I found the problem is in this line in both files. In the read me file it says to replace: <td class="main" width="50%" valign="top"><?php echo TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?></td> with <td class="main" width="50%" valign="top"><?php echo (($customer_id==='0')? ' ':TEXT_CHOOSE_SHIPPING_DESTINATION . '<br><br><a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'); ?></td> Taking a quick look at the outputed html I noticed the nbsp; appears but everything after the ":" doesn't. Anyone have any idea of what could be causing this. Thanks in advance. Shade and Sweet Water Chris Czerniak
Guest Posted March 7, 2006 Posted March 7, 2006 the code means you won't have the button unless a customer is logged in to his account. If you use the PWA option for checkout you cannot control the address books.
cczernia Posted March 7, 2006 Author Posted March 7, 2006 the code means you won't have the button unless a customer is logged in to his account. If you use the PWA option for checkout you cannot control the address books. Thanks for the reply. Is there an option or another contribution that allows you have a billing and shipping address with PWA? Shade and Sweet Water Chris Czerniak
Recommended Posts
Archived
This topic is now archived and is closed to further replies.