Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  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: