Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

JcMagpie

♥Ambassador
  • Posts

    3,373
  • Joined

  • Last visited

  • Days Won

    198

Everything posted by JcMagpie

  1. Try this, https://apps.oscommerce.com/inQfu&mailchimp-newsletter-everywhere
  2. Asking the same question over and over again will not get you a quicker responce! https://apps.oscommerce.com/OHF0I&first-data-global-gateway-e4-aim
  3. Actually if you are able to get over forcing someone to buy then the product attributes will do everything you need. Simply add the safety gear as an option on each danger product. Then the customer is free to buy with or with out.
  4. Not sure if what you are asking is strictly legal! No one should be forced to by something they don’t need. How do you know they don’t already have safety equipment? If its that important then simply add the item to each danger product and sell them as a bundle. You could look at one of the many cross sell add-ons to see if you can get that to work as you need. https://apps.oscommerce.com/aSd8g&better-together https://apps.oscommerce.com/BZ2FO&bundled-products https://apps.oscommerce.com/H32JO&x-sell-v2-ms2-cross-sell-for-ms2 If not post in the commercial section to see if one of the developers can help.
  5. The images are all in one table so you will need to sort by product_id and some other id such as sort order, something like this, $sql = "SELECT id, products_id, sort_order, image FROM products_images WHERE products_id='29' AND sort_order='2'";
  6. Your best bet is to simply add the google reCAPTCHA to the form, use the info provided by google to do this, https://developers.google.com/recaptcha/old/docs/php
  7. Short answer for an established business no! I personally only use it on my hobby sites. On these it works very well. However in reality it depends on what you are selling and how established your store is. If your selling hobby stuff which is not easy to get or stuff you make your self, then having others that sell similar stuff place ads that may be of interest to your customers can help. You may find you have competitors that target your site with ads but google allows you to block them. So it's all down to what your selling and how you use it.
  8. If your site is fully ssl compliant then Googe will only serve ssl compliant ads to your site, So mixed content from google ads is not an issue. https://support.google.com/adsense/answer/10528?hl=en-GB
  9. There you go working on stock CE with https: 😊 just needs a bit of tweeking to mmake google happy. You will find google now shows more ads on mobile than pc.
  10. Not true! I have ad-sense ruining fine on a number of sites all https. What you will find is that ad-sense is now prioritizing mobile friendly sites. I found that after installing new osC I had to make a number of small changes to make google happy with site before it would start showing ads. Simply use chrome browser dev tool to review your site and remove all issues it finds. You should then find that ads will just start working. Also check your site on mobile device and see if ad’s are showing. I found they appeared mobile devices first.
  11. Trying to remotly debug like this is never going to be easy. If you think its the .htaccess then just remove everything and add it back one rule at a time to see whch is the problem. You shoud not need this? <IfModule mime_module> AddType application/x-httpd-ea-php72 .php .php7 .phtml </IfModule> This is questionable do you know why your using it? "The ETag HTTP response header is an identifier for a specific version of a resource. It allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. On the other side, if the content has changed, etags are useful to help prevent simultaneous updates of a resource from overwriting each other ("mid-air collisions"). If the resource at a given URL changes, a new Etag value must be generated. Etags are therefore similar to fingerprints and might also be used for tracking purposes by some servers. A comparison of them allows to quickly determine whether two representations of a resource are the same, but they might also be set to persist indefinitely by a tracking server." <IfModule mod_headers.c> Header unset ETag </IfModule> FileETag None
  12. RewriteCond %{HTTPS} !on Is known to have issues on some server set-ups and can misbehave.
  13. Speak to your host, most good hosts will have nightly or weekly backups you can restore from. You may even find that you can do it yourself, check in your control panel. As you don't know what caused it, just restoring may not help but it's worth a try. As you think 2 key changes were made. First I would roll back the php update. Check with your host most now allow you to use the php version you require. If that makes no difference, then check the ssl you indroduced even turn it off for a while and check. To force all of the web traffic (every link in your website) to use HTTPS insert the following lines of code in the .htaccess file: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  14. 😊 Well first use a smaller font, my eyes hurt reading that! Also first check if you have a problem by testing your site. https://www.ssllabs.com/ssltest/ For paypal see this, https://www.paypal.com/uk/smarthelp/article/why-do-i-need-to-upgrade-my-system-to-tls-1.2-faq3898 Then follow this thread, hopfully that will help.
  15. 😂 Yep! Technically true It’s already been pointed out to @micke salloum @micke salloum if you still plan to use this then perhaps you can try and mitigate the chance that 2 people will genrate the same time stamp to within a second by using this insted? 😂 . microtime() returns the current Unix timestamp with microseconds. As I don’t use this addon I have no idea what security issues if any this will pose. $microtime = time(); $ticket_link_id = ''; for ($x=4;$x<10;$x++) { $ticket_link_id .= substr($microtime,$x,1); }
  16. Make all your changes in user.css it will be in your shop root. You will find a sample user.css in the above thread. It give you the basic's to make chnages to the look of the stock shop.
  17. test the code and see if it works for you, but this will give you a 6 digit number. <?php $time = time(); $ticket_link_id = ''; for ($x=3;$x<10;$x++) { $ticket_link_id .= substr($time,$x,1); } http://sandbox.onlinephpfunctions.com/code/be738f60d027fdab32d5bae693390f06072f4205
  18. The ticket ID is generated by as you see it's looks to be derived from $time to try and make it individual. // generate LInkID $time = time(); $ticket_link_id = ''; for ($x=3;$x<10;$x++) { $ticket_link_id .= substr($time,$x,1) . tep_create_random_value(1, $type = 'chars'); } You could simply replace with a new function that will produce a 6 digit random number, the echo is just for testing! <?php function generateRandomString() { $digits = '1234567890'; $randomString = ''; for ($i = 0; $i < 6; $i++) { $randomString .= $digits[rand(0, strlen($digits) - 1)]; } return $randomString; } echo generateRandomString();
  19. Try, $ticket_link_id = ''; for ($x=0;$x<5;$x++) { $ticket_link_id .= substr($time,$x,1) . tep_create_random_value(1, $type = 'integer'); }
  20. You are more likly to get an answer if you post in the add-on's support thread. Support thread at http://www.oscommerce.com/forums/topic/410223-tickethelpsupport-system/ Make sure to backup first! Please backup first!!!! Try this, Find around line 109 $ticket_link_id = ''; for ($x=3;$x<10;$x++) { $ticket_link_id .= substr($time,$x,1) . tep_create_random_value(1, $type = 'chars'); } abd replace with tis $ticket_link_id = ''; for ($x=3;$x<7;$x++) { $ticket_link_id .= substr($time,$x,1) . tep_create_random_value(1, $type = 'integer'); }
  21. If it's not showing then the install has gone wrong! remove the module and check it's compatability with the version you are using.
  22. And it would apper that IP is in the osC API for Authorize.net , 'x_email' => substr($order->customer['email_address'], 0, 255), 'x_cust_id' => substr($customer_id, 0, 20), 'x_customer_ip' => tep_get_ip_address(),
  23. They take you of your site because they need a secure site on which to process the data! if it was done on your site you would be responsable for any breach! You should aske the company itself I'm sure they will let you know, or check out the API details https://developer.authorize.net/api/reference/index.html
×
×
  • Create New...