Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UncleSteve

Pioneers
  • Posts

    529
  • Joined

  • Last visited

Everything posted by UncleSteve

  1. Okay, bit of progress... I've taken a look at the files in the 'cache' folder and found the full URL of the original site, so currently updating all the files to the second sites URL. Then I'll try uploading and try again. How can I get the system to renew the cache files? I've already tried the 'Reset SEO URLs Cache' option in admin, but that dosn't seem to have any effect. Any guidence please?
  2. Hi Guy's, Where have I gone wrong? I have a site on one server which is running okay with this contrib :) However... I have a second site of which I have duplicated all the files, but the SEO URL's don't work :( The site generates the correct URL (same as the good site), but I get the following error Can anyone give me an idea of whats gone wrong please? In admin I can switch off this contrib to run with the original URL's, but perfer to have the proper SEO URL's Thanks in advance to all Steve
  3. Thanks Todd, Just tested your advice by doing an import with all the products with a positive quantity and yes the all stayed active :) Thanks again Steve
  4. Easy Populate 2.76d-MS2 - Default Language : English(1) Done a search, but couldn't find a solution. I've just done a single category upload with 57 active items. Strangely after the import only 19 were active. Any ideas on what I can do, to make good please? Is there a contrib to activate or de-activate a whole category, if so what's it called or location please? Thanks in advance :)
  5. Try dropping the " as the code generally works okay without them (that is in my case) in product descriptions, however you may need to add a contrib called "Embed Link with SID in Description" to help your html work correctly. Basically, instead of using " you use %%+ and %%- you can find it here;- http://www.oscommerce.com/community/contri...ks+contribution Steve
  6. :D Thanks for that. It gives me a two part solution, in that the first import adds the new products without the two extra fields, then when I do a second import of the same file, all the fields are updated, including the two missed fields from the previous run. Strange, but true! but we do have progress in the right direction :D I expect I've missed to enter the new fields somewhere :'(
  7. Hi surfalot, Thanks for your reply. What you have said, is basically what I had done (about 6 months ago). I've decided to update to a newer version as I could never upload new products. With the updates I have done so far now allows the uploading of new products, but... without the two extra fields :( Looking at the following bit of code, I think my lack of updating the two new fields may be due to the way I've edited lines 2168 and 2170, which I think I picked up from some code a long time back and now trying to use a compare programme to update my new file from the original easypopulate.php file. Anyway my code below certainly dosn't look right :( Any coments please? :) 2162 echo "<font color='black'> Updated</font><br>"; 2163 $row = tep_db_fetch_array($result); 2164 $query = 'UPDATE '.TABLE_PRODUCTS.' 2165 SET 2166 products_price="'.$v_products_price. '" ,products_image="'.$v_products_image; 2167 2168 '" ,vendors_prod_id="'.$v_vendors_prod_id; 2169 2170 '" ,vendors_id="'.$v_vendors_id; 2171 2172 2173 // uncomment these lines if you are running the image mods 2174 /* 2175 $query .= 2176 '" ,products_mimage="'.$v_products_mimage. 2177 '" ,products_bimage="'.$v_products_bimage. Thanks Steve
  8. I'm having a good success with my EP. I've now got it to export all my fields (I've added two extra fields 'v_vendors_id' and 'v_vendors_prod_id') :) I've also got it to import without comming up with errors :) However...... Although the report at the top of the EP page shows its importing all the fields, when a product is checked, its not updating my two extra fields :( I felt its not a good idea to post thousands of lines of code, so I've uploaded it to this location, I've coloured my extra fields in red, so hopefully you can find my changes reasonably easily. Can anyone give me any clues where to start looking to make good my lack of updating fields please? Thanks in advance for any help and guidence :D
  9. I'm runing the following 'scrolling' 'Whats New' code in one box, and in another box I'm displaying the 'Specials'. I'd like to know how the code below can be changed to only display 'New' products without displaying 'New Specials' as they are already being displayed in the 'Specials' box. I suppose one work about would be to change the dates on the specials! Any help will be appreciated, and thanks in advance :) <?php /* snip for posting */ $wt_query = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by products_date_added desc limit " . 25); if (tep_db_num_rows($wt_query)) { ?> <!-- whats_new //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_WHATS_NEW); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_PRODUCTS_NEW)); while ($random_product = tep_db_fetch_array($wt_query)) { $random_product['specials_new_products_price'] = tep_get_products_special_price($random_product['products_id']); if (tep_not_null($random_product['specials_new_products_price'])) { $wt .= '<center><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br><s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])); $wt .= "</SPAN><BR /><HR>"; } else { $wt .= '<center><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '<br>'; $wt .= "</SPAN><BR /><HR>"; } } $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<MARQUEE behavior= "scroll" align= "center" direction= "up" width="100" height="160" scrollamount= "2" scrolldelay= "20" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'>'.$wt.'</span></MARQUEE><p><a href="http://www.mystore.co.uk/store/products_new.php"><B>Click Here To</B><BR>See All New Products</a></p>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- whats_new_eof //--> <?php } ?> Steve
  10. UncleSteve

    Protx Direct v2.22

    Looks like Vger has beat me... Not able to help a lot, as I use Protx_Form, however try asking your client to disable the 3D in his Protx control Panel. Get something working, then re-enable it. I found with 3D enabled, it voided most transactions, even mine!! So until everyones card is part of the 3D scheme, you may also chose to avoid it. The Protx help desk are quite good at helping out, though any enquiries this time of day may be left till tomorrow (they usually want the merchant number). The other place for answers/help is here https://support.protx.com/forum/
  11. I've now clearly established that adding the CR code given above tidies the layout of the address, however it doesn't cure the 'numerics not matched' problem. Poking around further, I found a problem with the lack of information being passed over to the Protx site. As pointed out in my previous post, the 'county' is not being forwarded, neither is the 'country', though it's being replaced with '2'! To overcome the Protx site looking for these missing fields, I commented them out in protx_form.php Now I don't get the error messages :D Yes I do have a problem remaining on my site, but at least I've crossed another issue off my list :) The address problem, I have now listed under a fresh topic here http://www.oscommerce.com/forums/index.php?showtopic=251264 where I have given further details of he problem. Steve
  12. The answer being to replace GBP with & # 8 3 5 6; (remove the spaces between the characters) which is the ascii code for a £ sign with two horizontal bars, like this ₤ :D
  13. I can supply two files (checkout_process.php) which have been heavily modified to give formated emails to the customer and the vendor (I'm using MVS). These will give you the customers telephone numbers in both customer and vendor email (though I'm having problems with some of the address data missing out of the vendors email, due to a Register Globals problem). I used to have the customers email address in both as well, but removed it from the vendors when I went live. My files have been modified for UK use only, some bits will be okay with adding extra files to your language folder, but some text in the catalog/checkout_process.php file will probably need modifying for multi language. If your not using MVS, perhaps you can use a compare programme to identify the bits of code you need. PM me your email address, so I can send them through.
  14. I'm having a problem where the address information is not being displayed correctly (basically missing) On the customer side of the store, the customers address appears correctly, like this; 25 Nowhere Street, Urban Town, The County, AA1 2BB, United Kingdom Strangely the emails OSC sends to the customer is also correct, however the emails that are sent to the vendor are like this 25 Nowhere Street, Urban Town, AA1 2BB, 2 As you can see the county is missing, then the country is replaced with a '2' I have the same error with the info that is sent to my CC processing file (Protx Form). And the same when viewing various pages on the admin side of the store. Bit of history... My soon to be ex-host has messed me about by switching off 'Register Globals' a couple of weeks a go which killed my site (without notice!!! :angry: ) I've had small problems all over the site after getting it back up with the aid of the newer Register Globals contrib. The above problem seems to stem from the RG problem. I've also added an ini.php file instructing RG to be on, which has helped but still have some problems So my question is, can anyone help me make good the above address problem please? Thanks in advance :)
  15. Hi Tom, I've change my code to your's, and that's added the CR's. :D Due to my host messing me around (who switched off 'Register Globals' a couple of weeks a go which killed my site - without notice!!!), I've had small problems all over the site after getting it back up. One was the Protx payment would go through (bar the error above), but none of the OSC emails were being sent, that was cured with some extra code I found to add to the Protx code. However one of the errors still remaining is that the 'County' isn't forwarded to some places like the Protx script above. (it gets forwarded to the customer email, but not the vendors email!). The same goes for the 'Country', however where there is no country code, it leaves the number '2' in its place! Perhap its this error that is causing the 'numerics not matched' problem (I hadn't thought of it before). Perhaps a fresh post is required to sort the end of address problem, unless you have some ideas please. Thanks for your input and help :) Steve
  16. I've looked through the contribs. but failed to see anything obvious for my needs. Without resorting to some sort of branded search facility like google etc. I'd like the OSC search facility to search other areas, other than just the product info files. Why? Well I have added loads of extra information pages (how to set-up and use various products etc.), plus at the top of the product category pages I have added loads of information there. I've tried to add links to all my extra pages from my site map page, but it would be far better for visitors to tap in some key words, then be presented with all 'finds' of a keyword, rather than just in the product database. Anyone got any ideas please? Thanks in advance :)
  17. I get the idea of what your explaining, but actioning it is another :( In admin you can change tha layout of the address, but none that I have tried removes the CR. It chages the order of the info, like the postcode before or after the county etc. Thanks Steve
  18. Hi Ken, What additional info would you like? Can you expand further on the address ID please? Thanks Steve
  19. I'm using Protx Form. I'm getting an awful lot (vertually all) of payments saying 'Address Numerics: Not Matched' which is a pain. Looking at the address in the Protx form which has been supplied by my osc. It seems like all the line breaks have been removed, so where I should have an address that looks like this 25 Nowhere Street, Urban Town, The County, AA1 2BB, I'm getting 25 Nowhere Street,Urban Town,The County,AA1 2BB, (yes the space is missing after the comma) I have found if the address is edited to lay out on seperate lines in Protx when entering your card details I don't gett the 'Not matched' error. I made the same enquiry on the Protx forum, and they came back with; Since I'm only getting the one error message, I don't think their reply applies to my problem. When I get an error and check the customer postcode against a postcode database, the address given in the database always matches what the customer gave, so why the error message Can anyone give me a clue where to start looking and making good please? Thanks in advance :)
  20. UncleSteve

    Protx Direct v2.22

    Whoops, Sorry, missed that :blush:
  21. UncleSteve

    Protx Direct v2.22

    Seperate issue to my other Protx question. I currently have my store set-up on one server with one domain (www.mydomain.NET). I'm setting up a second domain (www.mydomain.COM) on a different server (because the 1st server has farrrrr toooo much down time - I will be moving the first domain over to the new server at a later date). My question is... Is it possible to have two domains pointing to the same Protx account, or will I have to set up another Protx account (Oh no, not more fee's :'( )? Any help guidence etc. greatly appreciated. Thanks in advance. :)
  22. UncleSteve

    Protx Direct v2.22

    I'm using Protx Form. I'm getting an awful lot (vertually all) of payments saying 'Address Numerics: Not Matched' which is a pain. Looking at the address in the Protx form which has been supplied by my osc. It seems like all the line breaks have been removed, so where I should have an address that looks like this 25 Nowhere Street, Urban Town, The County, AA1 2BB, I'm getting 25 Nowhere Street,Urban Town,The County,AA1 2BB, (yes the space is missing after the comma) I have found if the address is edited to lay out on seperate lines in Protx when entering your card details I don't gett the 'Not matched' error. Can anyone give me a clue where to start looking and making good please? Thanks in advance :)
  23. I've tried two RG contribs. The first on a virgin site would not work. The second contrib. eventually worked after a bit of fidling. Based on getting the vigin site working, I eventually got my site working to a point!... My site is not working correctly, I've even tried adding a php.ini file which was fruitless. So in view of the terible service of my soon to be ex-host, I'm looking at new hosts with RG switched on.
  24. I'm still having various problems with my site :( The problem above is still present, however I've found no conformation email are sent out if the customer pays by credit card. I have a number of problems in admin, but not to concerned about them at present. I'm wondering if I should be adding a bit of code to all the effected pages/process's? Any feedback etc. would be greatly appreciated
×
×
  • Create New...