Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

lindendesign

Members
  • Content count

    55
  • Joined

  • Last visited

Profile Information

  1. No prob Lisa, Glad it helped. Good work Greg, Really liking this add on. Has solved my problem. Regarding the none standard name, this was the one that came with a normal installation of oscommerce.
  2. lindendesign

    Links Manager II

    That seemed to work for that link. Thanks very much.
  3. Hi Greg. I found the problem! I had to change where it said if ($GLOBALS['payment'] == 'paypal') to if ($GLOBALS['payment'] == 'paypal_standard') That seemed to do the trick. Thanks for your help :). Just wondering, how easy would it be to show a pop-up box when they click the normal confirm order button (if they choose paypal), that warns them like this? Instead of having the div that hides.
  4. lindendesign

    Links Manager II

    Brill. I'll give that a try over the weekend and let you know how I get on. Thanks, Craig
  5. Hi Greg, Here is the code I'm using. Can you see anything that might be wrong with it? Might it be to do with the name of the payment module I'm using. I think its just called Paypal Standard. One of the ones that is there when first installing OSCommerce. Thanks so far. Really appreciate it. <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td> <?php if (isset($$payment->form_action_url)) { $form_action_url = $$payment->form_action_url; } else { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_confirmation.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <?php if ($sendto != false) { ?> <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> <?php if ($order->info['shipping_method']) { ?> <tr> <td class="main"><?php echo '<b>' . HEADING_SHIPPING_METHOD . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td class="main"><?php echo $order->info['shipping_method']; ?></td> </tr> <?php } ?> </table></td> <?php } ?> <td width="<?php echo (($sendto != false) ? '70%' : '100%'); ?>" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <?php if (sizeof($order->info['tax_groups']) > 1) { ?> <tr> <td class="main" colspan="2"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> <td class="smallText" align="right"><b><?php echo HEADING_TAX; ?></b></td> <td class="smallText" align="right"><b><?php echo HEADING_TOTAL; ?></b></td> </tr> <?php } else { ?> <tr> <td class="main" colspan="3"><?php echo '<b>' . HEADING_PRODUCTS . '</b> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <?php } for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { echo ' <tr>' . "\n" . ' <td class="main" align="right" valign="top" width="30">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="main" valign="top">' . $order->products[$i]['name']; if (STOCK_CHECK == 'true') { echo tep_check_stock($order->products[$i]['id'], $order->products[$i]['qty']); } if ( (isset($order->products[$i]['attributes'])) && (sizeof($order->products[$i]['attributes']) > 0) ) { for ($j=0, $n2=sizeof($order->products[$i]['attributes']); $j<$n2; $j++) { echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'] . '</i></small></nobr>'; } } echo '</td>' . "\n"; if (sizeof($order->info['tax_groups']) > 1) echo ' <td class="main" valign="top" align="right">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n"; echo ' <td class="main" align="right" valign="top">' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_BILLING_INFORMATION; ?></b></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td width="30%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr><!-- PWA BOF --> <td class="main"><?php echo '<b>' . HEADING_BILLING_ADDRESS . '</b> <a href="' . ((tep_session_is_registered('customer_is_guest'))?tep_href_link(FILENAME_CREATE_ACCOUNT, 'guest=guest', 'SSL'):tep_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL')) . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr><!-- PWA EOF --> <tr> <td class="main"><?php echo tep_address_format($order->billing['format_id'], $order->billing, 1, ' ', '<br>'); ?></td> </tr> <tr> <td class="main"><?php echo '<b>' . HEADING_PAYMENT_METHOD . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> <td width="70%" valign="top" align="right"><table border="0" cellspacing="0" cellpadding="2"> <?php if (MODULE_ORDER_TOTAL_INSTALLED) { echo $order_total_modules->output(); } ?> </table></td> </tr> </table></td> </tr> <?php if (is_array($payment_modules->modules)) { if ($confirmation = $payment_modules->confirmation()) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><b><?php echo HEADING_PAYMENT_INFORMATION; ?></b></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main" colspan="4"><?php echo $confirmation['title']; ?></td> </tr> <?php for ($i=0, $n=sizeof($confirmation['fields']); $i<$n; $i++) { ?> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $confirmation['fields'][$i]['title']; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main"><?php echo $confirmation['fields'][$i]['field']; ?></td> </tr> <?php } ?> </table></td> </tr> </table></td> </tr> <?php } } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if (tep_not_null($order->info['comments'])) { ?> <tr> <td class="main"><?php echo '<b>' . HEADING_ORDER_COMMENTS . '</b> <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '"><span class="orderEdit">(' . TEXT_EDIT . ')</span></a>'; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo nl2br(tep_output_string_protected($order->info['comments'])) . tep_draw_hidden_field('comments', $order->info['comments']); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="right" class="main"> <?php if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <style> #warningdiv {float:right; position:relative;} #confirmbutton {position:absolute; top:0; right:0; z-index:10;} #hideimage {position: absolute; top: 0; right: 0; z-index:20; border:2px solid #900; padding: 5px; background-color: #fff; color: #900; width: 500px;} .stopimage {float: right;} .stopimage img {border: none;} </style> <div id="warningdiv"> <div id="confirmbutton"> <?php if ($GLOBALS['payment'] == 'paypal') { echo tep_image_submit('button_pay_now.gif', IMAGE_BUTTON_PAY_NOW) . '</form></div>' . "\n"; print '<div id="hideimage"><span class="stopimage"><img src="images/stop.gif" /></span>' . TEXT_PAYPAL_WARNING . '<br /><a href="#" onClick="showDiv(\'hideimage\');return false;">'. TEXT_PAYPAL_WARNING_CONFIRM . '</a></div>'; } else {echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . '</form></div>' . "\n";} ?> ?> </td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="50%" align="right"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td> <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td> </tr> </table></td>
  6. lindendesign

    Links Manager II

    For this domain, it says the following: Site Located: Yes Link Located: Yes Domain Mismatch: No Parent Mismatch: Yes
  7. lindendesign

    Links Manager II

    Sorry, my bad. The link was between two of my sites. The store is located at http://www.thelittleboxofjewels.co.uk And the site I linked to is http://www.lindendesign.co.uk On the Linden Design site, down the left menu is a link to the Links page to which the little box of jewels link is present. Thanks.
  8. lindendesign

    Links Manager II

    Hi there. Thanks for the great Mod. I just want to check one thing though. I have the domain and parent check enabled. The cron job I ran removed a link which I know for sure has a link from the main page, to the links page.
  9. Hello Greg. I've tried it again and still not managed to sort it. My browser is definately java enabled. Couple of points though: The buttons folder existed in english/images/buttons, not english/buttons. Also, my checkout-confirmation.php page was slightly different. In my file, I didn't have the first part of the code, but I did have most of the last line, so I just replaced that. I had "echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) . "\n";" this in my file. Could you suggest anything to make it work? Thanks, Craig
  10. Hi Greg, Thanks for replying. I'll give it a go later on today or tomorrow and see if I can get it to work. I think I must have made a little mistake somewhere. I'll post back with how I get on. Thanks again, Craig
  11. Hi Greg I have tried using this module as I'm having the same problem when customers don't return to the store from the paypal confirmation page. However, I can't seem to get it to work. Just to clarify, where should I be putting the button_pay_now image? Thanks, Craig
  12. lindendesign

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Thanks for pointing me in the right direction there. I could of swore it only started happening after I installed this contribution but it was my config file on the HTTP_SERVER line. Thanks very much. Craig
  13. lindendesign

    Issue with paypal express and discount codes

    Hi DunWeb and thanks for replying. I did have a look at the common problems section for the PayPal IPN but unfortunately it doesn't really help. Can anyone else help please? Thanks, Craig
  14. lindendesign

    [CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

    Hi, I have just installed this add on. I just have one small problem that I hope someone can help me with. When i go to the store, I enter the address with www. at the start. This loads fully and the address still has www. at the top. However, when I click a link in the store, it removes the www. on the page that it loads. Is there anyway I can keep the www. all the time, I've searched around a few topics but haven't really found anything that helps. Thanks, Craig
  15. Hi there. I installed this mod to my cart and everything seemed to be working ok, other than when a registered customer logs in and uses the 'My Account' link. For some reason it just goes to the Shopping Cart instead of the account area. Has anyone else experienced this? If so, how can I solve it? Thanks, Craig
×