Jump to content
Latest News: (loading..)

All Activity

This stream auto-updates     

  1. Past hour
  2. Let me see if I understand this: Link to this: https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" So what if that server or website goes down, then your site looks ugly. Am I missing something here?
  3. Thank you very much! That fixed it.
  4. Jack_mcs

    UPS Choice 1.8.3

    I've received reports from several of my clients that UPS is not working. According to this site most of the US is having problems. But according to UPS, only Iowa is affected. I checked sites that are in Canada and UPS is working for them so it is only a problem with the US, as far as I can tell.
  5. Today
  6. 241

    Email queuing system

    @burt what are you using for your line breaks? content-type: text/plain "\n" - move cursor to next line "\r" - move curser to beginning of the line "\n\r" - produces 2 new lines whereas "\n", "\r" and "\r\n" give single lines content-type: text/html <br> - single line break HTML <br /> - single line break XHTML HTML5 allows both but prefers <br> nl2br($str, boolean) - replace \n with <br> or <br /> boolean - true/false default true nl2br($str, true) same as nl2br($str)
  7. DAVID3733

    Request Product Reviews

    Hello We have 2.3.4.1 CE BS4 running on php 7.2 plus Just to say this contribution is working on our set up, It was not straight out of the box but any changes that were needed were available in this thread to enable it to work, using php errors log on the server to pick out the issues made it easier Probably going to use the framework for other emails we send to clients after dispatch to when have more time, we always on a previous version used a autoresponder but could not find suitable alternative to work with PHP7 Have fun David
  8. Ken_Shea

    Alternatives to PayPal

    Hi all, Any one using a online payment method similiar to PayPal ? I.E. no credit card information entered on my site and then a transfer of that information to a processor gateways. Thanks Ken
  9. Chadduck

    UPS Choice 1.8.3

    Hello everyone - Before I begin the dreaded process of troubleshooting my UPS shipping issue I wanted to ask IF I am the only one that is having issues with UPS Choice 1.8.3. Shipping has been working fine for years. I received a phone call asking IF Priority Mail was the only method of shipping that we offered on Wednesday, April 17. 2019. Of course it was not, but it was the first time anyone had told me that there was no other option. Since the module is returning this error message (see image) We are unable to obtain a rate quote for UPS shipping. Please contact the store if no other alternative is shown I do NOT believe that the module is the issue HOWEVER I am of the opinion that UPS may have finally removed the cgi server since the module has this disclaimer in step 7 ------------------------------------ Disclaimer: This revision is based on ups.php v.1.54, which employs the UPS cgi method that has been deprecated for over a year and although it appears to remain functional is no longer officially supported by UPS. The currently supported UPS API requires XML requests through a secure socket layer, for which there is not yet an osC implementation. ------------------------------------ Is anyone else having this issue? Anyone have a suggestion for a similar module for replacement? BJ
  10. To copy a product to a differnt category or the same category, i still miss in every new version some important copy stuff 😞 If a product have attributes, there dosen't get copied. So here is my suggestion for to change that: start about line 340 in catalog/admin/categories.php change this: case 'copy_to_confirm': if (isset($_POST['products_id']) && isset($_POST['categories_id'])) { $products_id = tep_db_prepare_input($_POST['products_id']); $categories_id = tep_db_prepare_input($_POST['categories_id']); if ($_POST['copy_as'] == 'link') { if ($categories_id != $current_category_id) { $check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . (int)$products_id . "' and categories_id = '" . (int)$categories_id . "'"); $check = tep_db_fetch_array($check_query); if ($check['total'] < '1') { tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$products_id . "', '" . (int)$categories_id . "')"); } } else { $messageStack->add_session(ERROR_CANNOT_LINK_TO_SAME_CATEGORY, 'error'); } } elseif ($_POST['copy_as'] == 'duplicate') { $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id, products_gtin from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_gtin) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "', '" . tep_db_input($product['products_gtin']) . "')"); $dup_products_id = tep_db_insert_id(); $description_query = tep_db_query("select language_id, products_name, products_description, products_url, products_seo_title, products_seo_description, products_seo_keywords from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$products_id . "'"); while ($description = tep_db_fetch_array($description_query)) { tep_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, products_url, products_viewed, products_seo_title, products_seo_description, products_seo_keywords) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_url']) . "', '0', '" . tep_db_input($description['products_seo_title']) . "', '" . tep_db_input($description['products_seo_description']) . "', '" . tep_db_input($description['products_seo_keywords']) . "')"); } $product_images_query = tep_db_query("select image, htmlcontent, sort_order from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$products_id . "'"); while ($product_images = tep_db_fetch_array($product_images_query)) { tep_db_query("insert into " . TABLE_PRODUCTS_IMAGES . " (products_id, image, htmlcontent, sort_order) values ('" . (int)$dup_products_id . "', '" . tep_db_input($product_images['image']) . "', '" . tep_db_input($product_images['htmlcontent']) . "', '" . tep_db_input($product_images['sort_order']) . "')"); } tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$dup_products_id . "', '" . (int)$categories_id . "')"); $products_id = $dup_products_id; } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } } tep_redirect(tep_href_link('categories.php', 'cPath=' . $categories_id . '&pID=' . $products_id)); break; to this: case 'copy_to_confirm': if (isset($_POST['products_id']) && isset($_POST['categories_id'])) { $products_id = tep_db_prepare_input($_POST['products_id']); $categories_id = tep_db_prepare_input($_POST['categories_id']); if ($_POST['copy_as'] == 'link') { if ($categories_id != $current_category_id) { $check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . (int)$products_id . "' and categories_id = '" . (int)$categories_id . "'"); $check = tep_db_fetch_array($check_query); if ($check['total'] < '1') { tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$products_id . "', '" . (int)$categories_id . "')"); } } else { $messageStack->add_session(ERROR_CANNOT_LINK_TO_SAME_CATEGORY, 'error'); } } elseif ($_POST['copy_as'] == 'duplicate') { $product_query = tep_db_query("select products_quantity, products_model, products_image, products_price, products_date_available, products_weight, products_tax_class_id, manufacturers_id, products_gtin from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'"); $product = tep_db_fetch_array($product_query); tep_db_query("insert into " . TABLE_PRODUCTS . " (products_quantity, products_model,products_image, products_price, products_date_added, products_date_available, products_weight, products_status, products_tax_class_id, manufacturers_id, products_gtin) values ('" . tep_db_input($product['products_quantity']) . "', '" . tep_db_input($product['products_model']) . "', '" . tep_db_input($product['products_image']) . "', '" . tep_db_input($product['products_price']) . "', now(), " . (empty($product['products_date_available']) ? "null" : "'" . tep_db_input($product['products_date_available']) . "'") . ", '" . tep_db_input($product['products_weight']) . "', '0', '" . (int)$product['products_tax_class_id'] . "', '" . (int)$product['manufacturers_id'] . "', '" . tep_db_input($product['products_gtin']) . "')"); $dup_products_id = tep_db_insert_id(); //BOC by McMannehan $attributes_query = tep_db_query("select products_attributes_id, options_id, options_values_id, options_values_price, price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = " . (int)$product_id); while ($attributes = tep_db_fetch_array($attributes_query)) { tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " (products_id, options_id, options_values_id, options_values_price, price_prefix) values ('" . (int)$dup_products_id . "', '" . (int)$attributes['options_id'] . "', '" . (int)$attributes['options_values_id'] . "', '" . tep_db_input($attributes['options_values_price']) . "', '" . tep_db_input($attributes['price_prefix']) . "')"); } //EOC by McMannehan $description_query = tep_db_query("select language_id, products_name, products_description, products_url, products_seo_title, products_seo_description, products_seo_keywords from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$products_id . "'"); while ($description = tep_db_fetch_array($description_query)) { tep_db_query("insert into " . TABLE_PRODUCTS_DESCRIPTION . " (products_id, language_id, products_name, products_description, products_url, products_viewed, products_seo_title, products_seo_description, products_seo_keywords) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_url']) . "', '0', '" . tep_db_input($description['products_seo_title']) . "', '" . tep_db_input($description['products_seo_description']) . "', '" . tep_db_input($description['products_seo_keywords']) . "')"); } $product_images_query = tep_db_query("select image, htmlcontent, sort_order from " . TABLE_PRODUCTS_IMAGES . " where products_id = '" . (int)$products_id . "'"); while ($product_images = tep_db_fetch_array($product_images_query)) { tep_db_query("insert into " . TABLE_PRODUCTS_IMAGES . " (products_id, image, htmlcontent, sort_order) values ('" . (int)$dup_products_id . "', '" . tep_db_input($product_images['image']) . "', '" . tep_db_input($product_images['htmlcontent']) . "', '" . tep_db_input($product_images['sort_order']) . "')"); } tep_db_query("insert into " . TABLE_PRODUCTS_TO_CATEGORIES . " (products_id, categories_id) values ('" . (int)$dup_products_id . "', '" . (int)$categories_id . "')"); $products_id = $dup_products_id; } if (USE_CACHE == 'true') { tep_reset_cache_block('categories'); tep_reset_cache_block('also_purchased'); } } tep_redirect(tep_href_link('categories.php', 'cPath=' . $categories_id . '&pID=' . $products_id)); break; now the attributes will be copy. This changes should really be in the core code. The example code above is used from @burt Boostrap 4 version.
  11. That is a step in the right direction. Thanks.
  12. Thank you Jack. As always your comments are appreciated.
  13. Your ,htaccess file says to use ssl for the whole shop but the above entry in the configure file says not to. You need to change the above urlto use https.
  14. Yesterday
  15. burt

    Email queuing system

    Yep looks good, thanks. Big gap is from my testing (of line breaks, as well as you can see such things as BOLD and Italic etc. Thanks for testing. Here;s the template that created that; Dear {{FNAME}}, thank you for your order #{{OID}}. <b>BOLD</b> <i>Italic</i> Summary ------------------------------------------------------ <table cellspacing="0" cellpadding="0" width="100%"> <tr> <td><b>Order Number:</b></td> <td>{{OID}}</td> </tr> <tr> <td><b>Detailed Invoice:</b></td> <td>https://template.me.uk/outgoing/account_history_info.php?order_id={{OID}}</td> </tr> <tr> <td><b>Date Ordered:</b></td> <td>{{ORDER_DATE}}</td> </tr> <tr> <td><b>Status:</b></td> <td>{{ORDER_STATUS}}</td> </tr> </table> Products ------------------------------------------------------ {{PRODUCTS}} Delivery Address ------------------------------------------------------ {{DELIVERY_ADDRESS}} Billing Address ------------------------------------------------------ {{BILLING_ADDRESS}} Payment Method ------------------------------------------------------ {{PAYMENT_METHOD}} for {{ORDER_VALUE}} A big BIG BIG Thank You from all of us here at Burtys Test Shop!
  16. Dnj1964

    Email queuing system

    Just got the email below plus the email for order #39 too. Huge space between Summary and order # Gary <oscshops@gmail.com> To:Doug Pleasures Apr. 17 at 3:57 p.m. Dear Doug, thank you for your order #40. BOLD Italic Summary ------------------------------------------------------ Order Number: 40 Detailed Invoice: https://template.me.uk/outgoing/account_history_info.php?order_id=40 Date Ordered: Wednesday 17 April, 2019 Status: Pending Products ------------------------------------------------------ 1 x Microsoft Internet Keyboard PS/2 1 x Unreal Tournament 1 x Samsung Galaxy Tab 1 x Hewlett Packard LaserJet 1100Xi Delivery Address ------------------------------------------------------ Doug Pleasures 99 over-there ave. useless, l9a5d8 one, Belize Billing Address ------------------------------------------------------ Doug Pleasures 99 over-there ave. useless, l9a5d8 one, Belize Payment Method ------------------------------------------------------ Cash on Delivery for $1,414.96 A big BIG BIG Thank You from all of us here at Burtys Test Shop!
  17. burt

    Email queuing system

    Create Account Email is not part of the Queued Email system (yet). I had turned off one portion of the system to test something and then forgotten to turn it back on! D'oh. It is now turned on again and so you should have received those two product_purchase emails Also in the Queue for you: Thank you very much for testing!
  18. Dnj1964

    Email queuing system

    Above see a post by Dan Cole with an attached message. Just followed through and received 1 email below, which would be the create an account email. No email from product purchase Gary <oscshops@gmail.com> To:Doug Pleasures Apr. 17 at 3:08 p.m. Dear Mr. Pleasures, We welcome you to Burts Test Shop. You can now take part in the various services we have to offer you. Some of these services include: Permanent Cart - Any products added to your online cart remain there until you remove them, or check them out. Address Book - We can now deliver your products to another address other than yours! This is perfect to send birthday gifts direct to the birthday-person themselves. Order History - View your history of purchases that you have made with us. Products Reviews - Share your opinions on products with our other customers. For help with any of our online services, please email the store-owner: oscshops@gmail.com. Note: This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to oscshops@gmail.com.
  19. BS4 7.125 After SSL install clicking "ADD TO CART" First has a pop up saying: "The information you have entered on this page will be sent over an insecure connection and could be read by a third party. Are you sure you want to send this information?" Clicking "CONTINUE" Sends to https://www.BAD-EXAMPLE.ca/shopping_cart.php And shows your cart is empty. Hopefully someone can point me in the right direction. Thanks .htaccess #redirect index.php to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.bad-example.ca/ [R=301,L] #redirect non-www to www RewriteCond %{HTTPS} !on [OR] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://www.bad-example.ca/$1 [R=301,L] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.bad-example.ca/$1 [R,L] public_html/admin/includes/configure.php define('HTTP_SERVER', 'http://www.bad-exmaple.ca'); define('HTTPS_SERVER', 'https://www.bad-exmaple.ca'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/user55/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'yeah-right'); define('DB_SERVER_PASSWORD', 'up-down-all-around'); define('DB_DATABASE', 'user55_indica'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'UTC'); public_html/admin/includes/configure.php define('HTTP_SERVER', 'http://www.bad-exmaple.ca'); define('HTTPS_SERVER', 'https://www.bad-exmaple.ca'); define('ENABLE_SSL', 'true'); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shopadmin'); define('HTTPS_COOKIE_PATH', '/shopadmin'); define('HTTP_CATALOG_SERVER', 'http://www.bad-exmaple.ca'); define('HTTPS_CATALOG_SERVER', 'https://www.bad-exmaple.ca'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/user55/public_html/'); define('DIR_WS_ADMIN', '/shopadmin/'); define('DIR_WS_HTTPS_ADMIN', '/shopadmin/'); define('DIR_FS_ADMIN', '/home/user55/public_html/shopadmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/user55/public_html/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'yeah-right'); define('DB_SERVER_PASSWORD', 'up-down-all-around'); define('DB_DATABASE', 'user55_indica'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); define('CFG_TIME_ZONE', 'UTC');
  20. Hi Guys! I am wondering if there are any add-ons out there that can integrate osCommerce with QuickBooks Online? I see there is an EZ QuickBooks contribution available, however, it does not specify if it works with the online version of QuickBooks. I'm simply looking for a way to save a tone of time by not having to recreate every online sale I make 1 but 1... it's extremely time-consuming. If anyone has any suggestions, please let me know.
  21. I believe my answer would be the same as the answer of @Jack_mcs Hooks do not add anything "bad". They allow shopowner and developer to do things easier. Typical example would be the Paypal App as mentioned in previous post, another example would be my recent PDF thing I made that allows shopowner to attach a PDF to an Order. Side Thoughts; Hooks pre-date osCommerce CE osCommerce CE mirrors 2.3.4.1 functionality - there is (to my correctly remembering) nothing in 2.3.4.1 that is not in CE.
  22. Hooks is just a way to run and/or display code. It has no affect on the shop other than that, as already mentioned. You can remove that code if you like, though that just makes things harder for you. Plus, any addon that uses hooks would no longer work. That includes quite a few but maybe the most important would be the paypal app. If you plan on using Paypal and you remove the hooks code, then you won't be able to use those modules.
  23. I take it your refering to official 2.3.4.1, The simple answer is yes! Official osC can be made responsive and can be made PHP 7.2 complaint. Look at the partners section and talk to one of the partners. Many have made osC official bootstraped and PHP 7.2 complaint, you will just have to pay for the pleasure or do the work your self. Alternativly switch to the unofficial BS3 frozen version.
  24. of course you can. All you need to do is link to the bootstrap css and javascript and bootstrap is installed.
  25. In essence the question is bootstrap without hooks? Bootstrap is responsive, but that is not the question, so I'm asking can you have bootstrap installed but have an alternative to hooks?
  26. hooks has nothing to do with bootstrap, or responsiveness. Bootstrap is just the framework used to provide responsiveness. You could use something else if you wanted to.
  27. I'm going to ask what might sound like a very stupid question, but can you have responsive without hooks? I know you going to ask me why, but it comes down to preference, so can you? What to do, any directions please to have no hooks? I still have v2.3.4.1, so why could'nt the same functionality been carried over? Or even better still have the same as it was, but with responsive? I'm not attacking anybody just raising the question. Elroy
  1. Load more activity
×