Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


14steve14 last won the day on March 10

14steve14 had the most liked content!


Profile Information

Recent Profile Visitors

126,051 profile views
  1. Its also possible to voluntarily register for VAT in the UK. I personally think, that as long as the required code for the store is available to allow the customer to comply, then that is fine. Others have to comply with the different legislation in their own countries, and in the spirit of open source should update the package accordingly. Thats how it should be kept up to date as laws and regulations change in each country.
  2. The MYSQLI_ASSOC was fixed by changing all instances of MYSQL_ASSOC to MYSQLI_ASSOC Thanks for the nudge in the right direction @MrPhil
  3. That is not defined in the configure files. What I have done is to just hard code it into the file so it now looks like <td align="right"><table><tr><td><?php echo tep_draw_form('export_to_file', 'margin_report.php', 'get', '') . tep_draw_hidden_field('action', 'export') . $get_vars . tep_draw_hidden_field('sql', $listing_sql); ?><input type="text" name="file" value="example_filename" onfocus="javascript:if(this.value=='example_filename') {this.value='';}" onblur="javascript:if(this.value=='') {this.value='example_filename'}"></td><td><?php echo '<input type="image" name="submit" src="' . 'includes/languages/english/margin_report.php' . $language . '/images/buttons/button_export.gif" alt="' . TEXT_EXPORT_BUTTON . '" width="65" height="22"></form>'; ?></td></tr></table></td> and the error has gone. Got another one now though. Ther eis a bit of code $date = tep_db_query("SELECT curdate() as time"); $d2 = tep_db_fetch_array($date, MYSQL_ASSOC); and the error is Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) Any advice on this bit as I dont even understand it.
  4. I am trying to get the older margin report addon found here https://apps.oscommerce.com/MjiQc&margin-report I have used this on my older BS store and everything worked, but now its on the latest version and PHP7 things are not working. I have got most errors sorted, but am currently stuck one piece of code which is <td align="right"><table><tr><td><?php echo tep_draw_form('export_to_file', 'margin_report.php', 'get', '') . tep_draw_hidden_field('action', 'export') . $get_vars . tep_draw_hidden_field('sql', $listing_sql); ?><input type="text" name="file" value="example_filename" onfocus="javascript:if(this.value=='example_filename') {this.value='';}" onblur="javascript:if(this.value=='') {this.value='example_filename'}"></td><td><?php echo '<input type="image" name="submit" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_export.gif" alt="' . TEXT_EXPORT_BUTTON . '" width="65" height="22"></form>'; ?></td></tr></table></td> I am stuck on replacing the bit that is DIR_WS_LANGUAGES . $language . '/images/buttons/button_export.gif" alt="' . I have no idea what to try and trial and error are causing more errors on the page. Hopefully this will be my last error on that page, then its on to the 2nd page in the addon.
  5. @burt Gary Fully agree. This is not what the core code is for. If shop owners are too lazy to look to see if there are addons that apply especially to the legal side of their business, then maybe they should think of something else to do.
  6. If all the legal stuff is included somehow with the install package, who checks to make sure each of the packages are compliant. It would be a full time job checking every countries legislation for changes. At least if it was in a seperare package people from each country would keep it updated if a change was required. It just needs some form of checking so it doesnt end up a mess like lots of the other addons.
  7. Group products in product_info.php

    There used to be some computer configurator addons, but I know they wont have been updated for a long time, so may need work. Have a search of the addons area. There are also some bundled products or better together addons that may do what you want, or at least be a starting point for coding something better.
  8. But where would the legal stuff stop. GDPR, Taxes, VAT and all the different legal rules from every country, the code would be a nightmare. May be there should be a package available for each country, similar to the concept of a language pack, that would include all the legal stuff for all the countries, all as modules. Each pack could them be maintained by someone with an interest and knowledge of the laws in each countries. Each pack could also contain things like currencies set up, date and address layouts, and so much more, but it will take lots of organising and will soon become a headache,and would get left and then become outdated because only a few people would want it, and others couldnt be bothered to update things as needed. It would become a mess like many other addons. It would also mean more work in altering the core code to allow these things to be added as a package. The only trouble being this will never happen as no one can access the core code, and without help Gary cant do everything on his own.
  9. This may seem like a silly thing to say but as you are having problems doing this, why not contact one of the many developers on this forum and get their paid help. They may do it really quickly and save you many hours of stress and worry.
  10. New Installation

    If it was me I would create a new database. If you use the same oone, some changes to your test store may affect the live store. Just out of curiosity, are you using the official version or the CE Frozen one. If using the official one, dont waste your time. Download the CE frozen one from the link in my signature and start from there.
  11. Cannot make TLS 1.2 work

    I have just updated the PayPal app, and when testing got the failed and failed message. I contacted my host who checked and everything should have worked. I eventually found this post and uploaded the paypal.com.crt file from this tread and everything now seems to be working as it should. All the time though I could get my account balance, so was not too worried, but just wanted everything to work. Its a shame that someone cant update the latest app with this corrected file. Thanks again for this post as it helped.
  12. BS Bundled products at a discount addon required

    Thanks Gary. I will contact you direct.
  13. I have been looking on this forum and searched other websites, and would like to find an addon that is suitable for use on the BS version, that will create bundles of products, which can be made up with in stock items, and sold at a discounted price. When a bundle is sold, the stock of the individual products must be reduced. I currently have a x-sell addon installed where these products are set up to be listed at the bottom of a product listing, but really want to sell at a discount a bundles of items. What I am thinking of is to create a new product in a category of products. For example, the bundle would include say a soldering iron, a soldering iron stand, a tip cleaner and some solder. All the items are available from the site individually for say 30 GBP. The bundle will cost 25 GDP. When sold all stock for the bundled products and the bundle must reduce by one. I can find older addons such as "better together" or "bundled products" or "Master products" but nothing that will work with a BS version, and nothing that does not have hundreds of core code changes. Converting something is way above my pay grade without a lot of help. Any help or guidance appreciated. I dont care whether the addon is free or a paid for one, but it must work.
  14. Need to update for TLS 1.2

    Are you sure that oscommerce needs updating. I thought lots of this TLS updating stuff was all about the server. Speak to your hosts. I may be totally wrong though.
  15. product warranty on Product info page

    If you have Garys 28 days of code files you could use the product tabs modules to create a tab that has warranty details on the product page. I dont know how hard it is to use, but he did create lots of tabs over the 28 days. He may even be able to create a new tab or something for you at a small cost. Failing that you may have to convert one of the existing options so it works with edge.