Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by driftwood

  1. driftwood

    UK-Based: Default osCommerce Installation.

    Hi, wondering if anyone here can solve a problem I have with my shop which has been setup for a few years now but I assumed all the UK editing was finish with. I discovered that the channel Islands wasn't in my available countries and although I've added them because a customer wants to use them the shipping modual see them as "rest of the world" this is a problem because the Royal Mail see's them as GB. So the postage being quoted on my site is way over the top and I have to keep issuing a part-refund. I've added the ISO code in each shopping mod but they are ignored. So how do I get the three islands to be accounted as GB ? Looked in Zones UK = GB I want Isle of man = GB, Gurnsey = GB and Jersy = GB don't I ? Can I just add that to the zones or would replication cause any issues ? TIA Drifter
  2. driftwood

    Change image directory to language images directory

    I think you might find contributions to help but in general if you want that you are best to have the images the right size. One option is to edit the underlying code that shows that image in the php file by adding somethiing like "x 2" to the images code to double it in the case of those product images. Sorry don't have an example.
  3. Can anyone tell me if it's possible to use this with the Links submit form I posted earlier ? If not I'll move on, thanks.
  4. driftwood

    alternatives to uploading pictures

    Why not look at OS Gallary2 to intricate this with OSCommerce ? I use this to upload images in batchs and also like my suppliers upload images at automaticily show in osc once I add the product. To use it all you have to do is change you path to your images in configure.php. One other benefit is you can use Gallary2 to show your images on other sites or in their own gallary as well as them being used on you shop site. Gallary2 has lots of features so I'm sure you could use a lot more of it then I do. Another of a similer type is coppernic
  5. Has anyone managed to insert this into the links contribution ? I don't know if it's possible and I've inlcude the link_submit.php if anyone is will try, much apriciated if anyone can offer any advice <?php echo tep_draw_form('submit_link', tep_href_link(FILENAME_LINKS_SUBMIT, '', 'SSL'), 'post', 'onSubmit="return check_form(submit_link);"') . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="<?php echo CELLPADDING_SUB; ?>"> <?php // BOF: Lango Added for template MOD if (SHOW_HEADING_TITLE_ORIGINAL == 'yes') { $header_text = ' ' //EOF: Lango Added for template MOD ?> <tr> <td><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_account.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> <?php // BOF: Lango Added for template MOD }else{ $header_text = HEADING_TITLE; } // EOF: Lango Added for template MOD ?> <tr> <td class="smallText"><br><?php echo TEXT_MAIN; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php if ($messageStack->size('submit_link') > 0) { ?> <tr> <td><?php echo $messageStack->output('submit_link'); ?></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="2"> <tr> <td class="main"><b><?php echo CATEGORY_WEBSITE; ?></b></td> <td class="inputRequirement" align="right"><?php echo FORM_REQUIRED_INFORMATION; ?></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="60%" cellspacing="2" cellpadding="2"> <tr> <td class="main" width="25%"><?php echo ENTRY_LINKS_TITLE; ?></td> <td class="main"><?php echo tep_draw_input_field('links_title') . ' ' . (tep_not_null(ENTRY_LINKS_TITLE_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_TITLE_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_LINKS_URL; ?></td> <td class="main"><?php echo tep_draw_input_field('links_url', 'http://') . ' ' . (tep_not_null(ENTRY_LINKS_URL_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_URL_TEXT . '</span>': ''); ?></td> </tr> <?php //link category drop-down list $categories_array = array(); $categories_query = tep_db_query("select lcd.link_categories_id, lcd.link_categories_name from " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lcd.language_id = '" . (int)$languages_id . "'order by lcd.link_categories_name"); while ($categories_values = tep_db_fetch_array($categories_query)) { $categories_array[] = array('id' => $categories_values['link_categories_name'], 'text' => $categories_values['link_categories_name']); } if (isset($HTTP_GET_VARS['lPath'])) { $current_categories_id = $HTTP_GET_VARS['lPath']; $current_categories_query = tep_db_query("select link_categories_name from " . TABLE_LINK_CATEGORIES_DESCRIPTION . " where link_categories_id ='" . (int)$current_categories_id . "' and language_id ='" . (int)$languages_id . "'"); if ($categories = tep_db_fetch_array($current_categories_query)) { $default_category = $categories['link_categories_name']; } else { $default_category = ''; } } ?> <tr> <td class="main"><?php echo ENTRY_LINKS_CATEGORY; ?></td> <td class="main"> <?php echo tep_draw_pull_down_menu('links_category', $categories_array, $default_category); if (tep_not_null(ENTRY_LINKS_CATEGORY_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_LINKS_CATEGORY_TEXT; ?> </td> </tr> <tr> <td class="main" valign="top"><?php echo ENTRY_LINKS_DESCRIPTION; ?></td> <td class="main"><?php echo tep_draw_textarea_field('links_description', 'hard', 20, 5) . ' ' . (tep_not_null(ENTRY_LINKS_DESCRIPTION_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_DESCRIPTION_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_LINKS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_input_field('links_image', 'http://') . ' ' . (tep_not_null(ENTRY_LINKS_IMAGE_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_IMAGE_TEXT . '</span>': ''); ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_POPUP_LINKS_HELP) . '\')">' . TEXT_LINKS_HELP_LINK . '</a>'; ?></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 CATEGORY_CONTACT; ?></b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table width="60%" border="0" cellspacing="2" cellpadding="2"> <tr> <td class="main" width="25%"><?php echo ENTRY_LINKS_CONTACT_NAME; ?></td> <td class="main"><?php echo tep_draw_input_field('links_contact_name') . ' ' . (tep_not_null(ENTRY_LINKS_CONTACT_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_CONTACT_NAME_TEXT . '</span>': ''); ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_EMAIL_ADDRESS; ?></td> <td class="main"><?php echo tep_draw_input_field('links_contact_email') . ' ' . (tep_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?></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 CATEGORY_RECIPROCAL; ?></b></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table width="60%" border="0" cellspacing="2" cellpadding="2"> <tr> <td class="main" width="25%"><?php echo ENTRY_LINKS_RECIPROCAL_URL; ?></td> <td class="main"><?php echo tep_draw_input_field('links_reciprocal_url', 'http://') . ' ' . (tep_not_null(ENTRY_LINKS_RECIPROCAL_URL_TEXT) ? '<span class="inputRequirement">' . ENTRY_LINKS_RECIPROCAL_URL_TEXT . '</span>': ''); ?><?php echo '<a href="java script:popupWindow(\'' . tep_href_link(FILENAME_POPUP_LINKS_HELP) . '\')">' . TEXT_LINKS_HELP_LINK . '</a>'; ?></td> </tr> </table></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"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></form>
  6. driftwood

    I have an idea

    I have an idea for an inovative discount contribution. It seems to me, as a non coder, very simple. It would involve taking a number from the customer profile and using it with gif animation to show a discount in the checkout and then deduction of that discount from the total. Anyone really interested in helping please PM, I am capable of doing the images needed but have no experiance at making contributions or real knowladge of php.
  7. driftwood

    Change image directory to language images directory

    Leave off on side size; Small Image Width 50 Small Image Height Width for all Small images will be 50 and height will be calculated to match.
  8. IMO the admin page of OSC is just not designed to add more the one product at a time and for most people thats a big disadvantage. I now no longer use the admin page to do this. If you are going to use EPop it's a simple enough job to avoide it, try this; Add the paths to images in the import file and use something to place the images in those paths. Handy hint for using EPop, if you sort all you images in the right folders and paths on your local PC and use the DIR command it with create a list of all files in those folders. - Say you had 500 images in a folder, you either type it all in by hand or you would get a list of all that you just copy and past into the the image column in the EPop file. The command is dir/b > dir.txt (think I got the switch right B). This would result in all the paths to the each image listed in a file could dir.txt in the folder you use the command. I use the handy short cut program DOSHERE to move around quicker from folder to folder. Now on to the main subject images and subfolders, the way I get around that is to combine OSC and Gallery2 Open Source program. I set the images path in configure.php to the root path of gallery2. Something like this; define('DIR_WS_IMAGES', './1/2/albums'); //think of each sub-folder as an album I use G2 to upload all my images and to do simple editing and to make thumbnails if needed. It's very handy seeing all your images listed in a gallery format and means you can manipulate quicker. I just make the the main folder albums is the default images, the you make albums for icons, banners etc replication the images folder on your server. When all that is working and the main osc images of showing you then replicate the folders on you local pc where you images are making albums for each sub-folder. It's all very easy as when you've made the album to add the images you just click add image - add inmage from web site, folder, google etc. The program then lists all the image found at that location and you just tick the boxes for the images you want. The images are upload into the album (your sub-folder) and the thumbnail are generated too (I don't use thumbnails so yo'll need to sort that side out). See the images on www.football4sale.co.uk/index.php right click to see the paths. The site is not gone live yet. Hope that helps.
  9. You don't put keywords in search engines. The is a conrib to help you but it's a lot better to do it yourself. I would advice you to search on "search engine optimisation" and follow the advice given there. Search engines use many ways to rate your site but the key to kewords is to have as many of the keywords as possible on your frontpage, in your title, in your description, in your links within your site, in links to other sites and on other sites to your site. The value of the words are also determined by the type of font H1, H2, H3 etc and even there position on your site and the sites that link into to yours. Yes, it's complicated but wait it gets more so because if you use a keywords too many times you might trip and spaming trigger and have marks taken away :-) You first step is to decide what keyword or phase most people will use when search for products you sell. Then is you can, use that in the title of your site if not the domain name, closer to the begining as possible.
  10. driftwood

    Return from PP - The Final Word?

    I no longer use paypal but reduced this problem by adding a message to the checkout. I just looked and it seems I changed the checkout_Confirmation.php define('HEADING_TITLE', 'IMPORTANT NOTICE - You are about to be taken to the paypal payment site. After making payment at paypal please wait to be returned back to our our site and then click the Continue button on the Success page. This will process your order cleanly, failure to do so could result in your order being delayed because the order process has not completed fully. Please confirm you are ready to make payment by checking your order and clicking The Confirm Order button.'); You can format that with basic html tags and change it to your needs, but forgive me if you have already thought of this.
  11. driftwood

    I need a cheap payment service that does this

    I bank with HSBC and I can tell you I don't use them for credit card processing. I think one day their car dealership will catchup with them. Till then I use WorldPay, cost a bit to setup but then only ?150 a year plus processing costs after. Mind you I am thinking of dumping them and going direct to paypal as they are far cheaper if you have a business account. The are plenty of cheap options around but Worldpay have a good name and never let me down once.
  12. great contrib, thanks for all thehard work and providing it. Just an idea for the next update - My past shipping mod wanted weights in grams this expects them in KG and also USA uses LBS. How about an admin option to change this setting and perhaps a convertion at checkout from metric to imperial to show USA customers what they are getting in lbs. Drifter.
  13. driftwood

    Supplier Admin Area Contribution

    I have a need for this type of contribution but I need to know if it works before I add it to my long list of things todo. Someone mentioned that it was intended for cre, is that so or is the another version for cre as I have a shop that uses cre. TIA.
  14. I'm not upto date with the contributions list but here's how I would do it; Make a new section with a bland name "star items" Copy all the items on discount on to the this section. Issue a discount voucher to the based on buying "star items" and restricted to the customers you send the email the discount code to. To anyone who didn't get the code the "star items" section will just look like a promo section. Any of the discount contribs should be able to do that.
  15. driftwood


    To be honest I would just sell them for 15.50 each :blush:
  16. Will do, I'm installing a clean Creloaded over the weekend so I'll give a go on that for fun :thumbsup:
  17. "If your customer is UK based, it will not show any of the International Shipping Options, and vice versa, if your customer is International it will not show any UK based shipping methods." Hi, really intrested in this thanks for taking the time but can I have what seems a simple question about the above statement. If I am a gift buyer in one country, say USA, will I be able to buy an item and have it delivered to another country address, UK, or visa versa. From what you say above I wouldn't be able to see the P&P for where I want the product to go. Drifter.
  18. driftwood

    RoyalMail Contrib

    OOOOOOOR! Can't wait that's jsut in time my new site so hope it works first time (sure it will) Have you done any work on the new format for pricing on size ? Looked at your site, you really are cramming the features in, are they all worth it, speedwise? Looks nice, what size harddisk can you do me for ?50 ?
  19. Hi, I've almost finished redesigning my site and thought I had tested this but today it doesn't work. I click checkout and just get a blank page. I undetstand this may be a error in some php somewhere but I have a lot of contribs installed so I'm hoping someone here can tell me which one to start looking in, if they have seen the problem before or even know what it's most likely to be. I don't think it's a problem with the contrib as I'm a clot :blink:
  20. driftwood

    New Royal Mail Price Changes Aug 21

    Thats 3 of us miffed at the Royal Mail then. I send a lot of items A4 and over and dear not look at the cost increase nevermind think of a way to impliment postage based on size x weight.
  21. driftwood

    WORLDPAY ticking over to 9 digits soon?

    I'm using the worldpay callback contribute and recently had an email from Worldpay informing me that their ID numbers will be ticking over to nine digits soon from the current eight digits. They say if my system does not allow for this increase the payment process will fail. Anyone any idea if those people using the callback process need to change anything? Dave.
  22. driftwood

    Uk HSBC Secure ePayments CPI - anyone ?

    Gone with Worldpay now, they seem to know what they are doing and the Contributution works well. It's just a great shame that the bank the money will end up in can't provide a service for a decent price. What I was quoted by HSBC was just silly.
  23. driftwood

    Uk HSBC Secure ePayments CPI - anyone ?

    Ok, after being dumped by paysystems I decided to run my site with just paypal & post-a-cheque options as a test to see if I could really to go with paypal for credit card customers. Well the test shows that I'm losing orders and I suspect it's the impluse buyers I'm losing. I need to take credit card and make the process as seamless as possible (suggestions?) The thing is my sales are not that high and last time I checked it just wasn't feasible. I bank with hsbc in the UK and notice they now have what they call - Secure ePayments CPI - seems to act a lot like paysystems but like all banks they don;t give much away unless they have you in the office where they can apply pressure. Anyone use this system or can recomment another, seen worldpay but heard a few bad things about the service.
  24. driftwood


    Well you start to get a bit suspecus when your last 5 days of orders are all payment by cheque ( I don't have loads of orders). Did the test and found the problem with paysys. I'm replying here because my site is UK based so I'm in the same boat, here what i've done as a spot-gap :- I already accept postal cheques, I changed the wording on that to accept cash - 'Post Payment (Cheques & PO UK only, Cash UKP, USD & EURO)' Could accept forign cheques over ?100 suppose as HSBC only charge around ?10 to pay these in so if I paid 5 in at a time it would be worthwhile. Then added NOCHEX.COM for UK Bank cards 'UK Bank Card (Provided by Nochex.com)' Finally adjusted already installed PAYPAL.COM to read 'Bank Card - UK, USA & Other Currencies (Provided by Paypal.com). I'm going to leave it as it is for a while and see while I look for more direct processing but I'm not going to pay my bank over ?400 to setup a few bits of text thats a fact.
  25. Just wanted to pick someones brains about how the affiliate contribution works with regards to bandwidth use. I had a site join up last week and they already sent 74,147 impressions with 300 clicks. At the same time I've gone over my maximum bandwidth so my site is costing me more. Is the a link and should I be worried ? all my other affiliates are very low impressions in total less the 1,000 in the same time.