gandhi Posted May 13, 2008 Posted May 13, 2008 the support text states look out fo the code surrounded by // PWA BOF and // PWA EOF. so for example the first file your given in the contrib download that i'm looking at is checkout_confirmation.php i've found the code surrounded by // PWA BOF and // PWA EOF. Exactly what am i meant to do with it? Edit it? <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr><!-- PWA BOF --> <td class="main"><?php echo '<b>' . HEADING_DELIVERY_ADDRESS . '</b>' . (((! tep_session_is_registered('customer_is_guest')) || (defined('PURCHASE_WITHOUT_ACCOUNT_SEPARATE_SHIPPING') && PURCHASE_WITHOUT_ACCOUNT_SEPARATE_SHIPPING=='yes') )? ' <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>':''); ?></td> </tr><!-- PWA EOF --> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td> </tr> thank you Quote
Guest Posted May 14, 2008 Posted May 14, 2008 can anyone help? You copy that information into your file at the same loaction that is indicated. Quote
gandhi Posted May 14, 2008 Author Posted May 14, 2008 i dont understand in here? <!-- PWA BOF --> do i not just overwrite the files in the contrib with the ones on my site? Quote
Guest Posted May 14, 2008 Posted May 14, 2008 do i not just overwrite the files in the contrib with the ones on my site? You sure can do that. However, you will lose any other changes made, the files may not be compatible with your osc version. What don't you understand about editing your shop files? It is just copy and paste in a text editor. Quote
gandhi Posted May 21, 2008 Author Posted May 21, 2008 ok this code here. what exactly do i do with it? add it to the code that is on my site? // PWA BOF tep_session_unregister('customer_is_guest'); // PWA EOF or do i just take my new logoff.php file i d/l'ed for this contrib and owerwrite the ones that are on my shop???? thats all i want to know... Quote
Guest Posted May 21, 2008 Posted May 21, 2008 ok this code here. what exactly do i do with it? add it to the code that is on my site? // PWA BOF tep_session_unregister('customer_is_guest'); // PWA EOF or do i just take my new logoff.php file i d/l'ed for this contrib and owerwrite the ones that are on my shop???? thats all i want to know... Add it. Quote
gandhi Posted May 21, 2008 Author Posted May 21, 2008 tep_session_unregister('customer_id'); tep_session_unregister('customer_default_address_id'); tep_session_unregister('customer_first_name'); tep_session_unregister('customer_country_id'); tep_session_unregister('customer_zone_id'); tep_session_unregister('comments'); tep_session_unregister('customer_is_guest'); $cart->reset(); so my new logoff.php will look like this??? think i may have figured it out now. cheers Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.