Jump to content
Latest News: (loading..)

ArtcoInc

Members
  • Content count

    1,438
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by ArtcoInc

  1. @De Dokta I have just installed this in a 234bs cart, and things work very well. Thank you! One thing I would like to see is: Since the customer is buying as a guest, once they move to checking_shipping, is there really a need to offer them the choice of changing addresses in their address book, which they don't have? If we could have a check in checkout_shipping to see if the customer is a guest, we can eliminate that, and make the guest checkout smoother ... Here's where it needs to be addressed in checkout_shipping.php <div class="page-header"> <h1><?php echo HEADING_TITLE; ?></h1> </div> <?php echo tep_draw_form('checkout_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'post', 'class="form-horizontal"', true) . tep_draw_hidden_field('action', 'process'); ?> <div class="contentContainer"> <h2><?php echo TABLE_HEADING_SHIPPING_ADDRESS; ?></h2> <div class="contentText row"> <div class="col-sm-8"> <!-- If this could be applied *only* if the customer is NOT a guest ... <div class="alert alert-warning"> <?php echo TEXT_CHOOSE_SHIPPING_DESTINATION; ?> <div class="clearfix"></div> <div class="pull-right"> <?php echo tep_draw_button(IMAGE_BUTTON_CHANGE_ADDRESS, 'glyphicon-home', tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL')); ?> </div> <div class="clearfix"></div> </div> </div> <div class="col-sm-4"> --> <div class="panel panel-primary"> <div class="panel-heading"><?php echo TITLE_SHIPPING_ADDRESS; ?></div> <div class="panel-body"> <?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br />'); ?> </div> </div> </div> </div> <div class="clearfix"></div> <?php if (tep_count_shipping_modules() > 0) { ?> Thoughts? Malcolm
  2. @pirolau Which version of osCommerce are you running? M
  3. ArtcoInc

    Where is OSCOM_Hooks defined?

    @edfaught Which version of osCommerce are you using? Have you installed any add-ons? If so, which one(s)? And, while it won't have much influence to your issue, which version of PHP are you running? M
  4. If you have not downloaded the Final/Frozen version, DO SO NOW! As I understand it, the Github project has been archived, and is pending deletion! Since there will be no more development on it, I propose posting any bugs and/or fixes here. I'll start: In the Also Purchased module ... There is a tiny mistake in cm_pi_also_purchased.php. Line 62 has "Enable Reviews Module" instead of "Enable Also Purchased Module".
  5. ArtcoInc

    PHP 7

    (At the risk of reviving an old thread, with a (perhaps) off-topic question ... ) Is there a problem with coding a shop to run under PHP 7.2, and actually running in under PHP 5.6? The reason I ask is that I have several shop on my host's server. As I update each shop, I want to bring each up to be PHP 7.2 ready (even though my host currently only offers up to PHP 7.0), but leave all the shops at PHP 5.6 until all are upgraded. Will and PHP 7.2 specific code cause a problem under PHP 5.6? TIA M
  6. ArtcoInc

    Landing site elimination

    @Ken_Shea This .htaccess file goes in the root of your shop (ontargetsportsonline.com). This is also where you can put the bits to force your htts status, and whether you have the www. in front of your domain, or not (as defined by how your SSL certificate was created). In your /catalog_ontarget directory, you can have another .htaccess file that just controls how your shop works. HTH M
  7. @greasemonkey Session Directory/home/****/public_html/includes/work/ Is that your actual directory? Or, did you just edit these out ... /home/****/public_html/<domain>/catalog/includes/work M
  8. ArtcoInc

    apple-touch-icon.png

    Looks like it. I *think* that the purpose of the apple-touch-icon is for your customer to be able to add a 'shortcut' to your site to the screen of their apple device. In this case, you'd probably want the apple-touch-icon to be the same as your favicon, as you want your shop's icon to be the shortcut. I was just looking at @JcMagpie's module. In it, he does use the same icon(s) for both the favicon and apple-touch-icon, just in different sizes. He just puts all of the icons into a different directory. So, just make sure that the href link in the code above points to whatever icon you want to use, including the correct path. M
  9. ArtcoInc

    apple-touch-icon.png

    https://icons8.com/icon/set/apple-touch/ios https://manytools.org/http-html-text/apple-touch-icon-generator/ M
  10. ArtcoInc

    apple-touch-icon.png

    @Ken_Shea Ok, as best as I can figure out (it's above my pay grade too), you need to do two things ... 1) Find a copy of the apple-touch-icon.png file, and put it in the root directory of your shop (probably in /catalog, but it depends on your shop layout) 2) Add this to the <head> portion of your shop code: <link rel="apple-touch-icon" href="apple-touch-icon.png"> (if you place the icon file in anything other than the shop root, you'd probably have to add the full path to the href link above) The best way would be to make a header tag module. I would simply copy an existing header tag module, re-name it, change all references from the old name to the new name, and replace the old code in the module with the above code. Clear as mud? M
  11. ArtcoInc

    apple-touch-icon.png

    @Ken_Shea Does this help? https://stackoverflow.com/questions/12480497/why-am-i-getting-error-for-apple-touch-icon-precomposed-png/18256077#18256077 https://stackoverflow.com/questions/14986650/keep-getting-404s-for-apple-touch-icon-png https://mathiasbynens.be/notes/touch-icons M
  12. ArtcoInc

    apple-touch-icon.png

    @Ken_Shea I did a Google search on 'apple-touch-icon', and am confused as to what it actually does. So, what exactly are you trying to accomplish? M
  13. ArtcoInc

    Rewrite Rules htaccess combining 2 redirects

    @douglaswalker You've got more in there than just your redirects ... 1) The line you mentioned above has something to do with your SSL certificate (the word 'Comodo' was my first clue). I also Googled 'pki-validation' : https://www.google.com/search?q=pki-validation 2) You also have something in there with 'facebookexternalhit' ... 3) Then there are the lines with 'cpaneldcv' in them ... I suggest you ask your host what's going on in there ... HTH M
  14. ArtcoInc

    Rewrite Rules htaccess combining 2 redirects

    @douglaswalker https://stackoverflow.com/questions/40849958/htaccess-rewrite-consolidation HTH Malcolm
  15. ArtcoInc

    Consolidated site on "Theme's"

    http://www.oscommerce-templates.co.uk/
  16. @stratula And your version of osC? M
  17. ArtcoInc

    thickbox

    @YePix If you are still having difficulties with this, you could post a RFQ in the commercial support area of the forum, and have a developer do this for you. M
  18. ArtcoInc

    Edit Opening Page of Shopping Cart

    @MrPhil As happens all too often here, the initial question seldom tells the entire story, and we have to do a lot of back-and-forth (like asking what version of osC, etc) to find out what is really wanted. It seems that there was an osC shop at <domain>/store/catalog. The shop owner had a new shop built (using a different cart) at the root of <domain>, and wanting anyone going to the old shop to get a splash page with a link to the new shop. At this point, all old links are now gone. And, unless the shop owner wants to restore off of an old backup, they are forever lost. Anyway, as I see it, the OP has two options ... 1) Use the index.php file in the abandoned osC cart to provide the splash page (which is what I now *think* the OP was asking), or 2) Completely erase the old osC cart and database, and put a simple HTML index.php file in it's place (as suggested by @JcMagpie. C'est la vie M
  19. ArtcoInc

    Edit Opening Page of Shopping Cart

    @kpiper First off, you're using the 'official' version of osCommerce. Unfortunately, the last 'official' versions (v2.3.4 and the v2.3.4.1 hot-patch) are very much out of date! This isn't your fault, and is an issue we have been dealing with here for some time. The osCommerce project was lead by one person that has been absent for quite some time. In his absence, the "community" has continued with the development of osC. Unfortunately, that one missing person is the only one that can make this continued development an 'official' release. The 'Community Edition' (also called osC-CE (for Community Edition), osC-BS (for Bootstrap, the platform it is based on), osC-Edge, osC-Final, and/or osC-Frozen. These are all different names for the same thing) is a big improvement over the last 'official' v2.3.4 release in a number of ways: 1) It is responsive. This means that it will adjust the screen layout depending on the size of the screen of your customer's device. This is very important in this day of mobile devices. The 'official' version is not responsive. 2) It will work with the newer version of PHP, the scripting language used in osC. As more and more hosts upgrade their servers to PHP 7.x, older versions of osC (including the 'official' version) will crash. 3) It is much more modular. This means that you can turn features on or off, change the layout, or even add new features, all without touching the core code. You can find a link to the latest version of the Community Edition in my signature below. Now, having said all of that, since your are essentially just starting out, now is a good time to blow away the 'official' site (both the files and the database) and start with a clean install of the Community Edition 'Frozen'. A couple more points ... 1) It is important to keep a complete copy of your shop on a local computer. (I prefer to actually set up a local web server on my workstation, and actually see what my shop looks like. Other people here have different opinions on this). 2) osCommerce is designed to be multi-lingual. This means your store can be in one or more different languages. To do this, almost everything you see displayed in the shop side of the store is defined in a language file. As you add more languages to your shop, you add additional language files, or packs. Typically, the text for your index.php file will be defined in /catalog/includes/languages/english/index.php. 3) Having all the files on your local computer makes it easier to search for a specific word or phrase. Using a program like Grep (Linux) or WinGrep (Windows) allows you to search all of the files in an entire directory for that phrase. For example, if your shop has the text "Merry Christmas" shown on a page, you can search the entire directory to find which file has that expression. HTH Malcolm
  20. ArtcoInc

    Edit Opening Page of Shopping Cart

    @kpiper You mention that you have taken over an osCommerce site. Yet, the site you have linked to is not only a very old version of osCommerce, it has no products in it. Has this been an active site in the past? Do you know how to transfer files to and from your host's server? Do you know how to log into the Administrator's side of your shop (do you have both the administrator's user name and password)? Do you know how to make a backup of the full site (both files and database)? M
  21. ArtcoInc

    shop and Calender...

    @tomovic First off, which version of osCommerce do you have? You have posted in the portion of the forum for version 2.4, which has been in Beta for a while, but is not ready for a live store. If you are just starting out, please be aware that the last 'official' version (v2.3.4 and v2.3.4.1 hot-patch) are very much out of date! The osCommerce project was lead by one person that has been absent for quite some time. In his absence, the "community" has continued with the development of osC. Unfortunately, that one missing person is the only one that can make this continued development an 'official' release. The 'Community Edition' (also called osC-CE (for Community Edition), osC-BS (for Bootstrap, the platform it is based on), osC-Edge, osC-Final, and/or osC-Frozen. These are all different names for the same thing) is a big improvement over the last 'official' v2.3.4 release in a number of ways: 1) It is responsive. This means that it will adjust the screen layout depending on the size of the screen of your customer's device. This is very important in this day of mobile devices. The 'official' version is not responsive. 2) It will work with the newer version of PHP, the scripting language used in osC. As more and more hosts upgrade their servers to PHP 7.x, older versions of osC (including the 'official' version) will crash. 3) It is much more modular. This means that you can turn features on or off, change the layout, or even add new features, all without touching the core code. You can find a link to the latest 'Frozen' version of the Community Edition in my signature below. If you are on the 'Frozen' version, we can go forward from here. If not, I strongly encourage you to upgrade. Do be aware that this is not an "in place" upgrade. Basically, you'd install Frozen fresh into a separate directory, migrate your data (customers, products, sales, etc), and re-apply any add-ons and/or styling changes. HTH Malcolm
  22. ArtcoInc

    Edit Opening Page of Shopping Cart

    @kpiper Which version of osCommerce are you using? M
  23. ArtcoInc

    Entscheidungsfindung

    @Chrisso While I see that your site is in both English and German, your 'Conditions of Use' page is only in German. Malcolm
  24. ArtcoInc

    thickbox

    @YePix product_listing.php is used by : specials.php, products_new.php, and advanced_search_results.php ... all to display a list of products that meets the specified requirements. product_listing.php does display the purchase button. If I understand what you want, you want to replace the purchase button with a button that pops open *something* that has the attribute choices and the purchase button, without opening the product_info.php screen. Right? If so ... 1) What if a product doesn't have any attributes? Why pop up anything when your customer could just click on the purchase button? 2) You want "something nice". What about a Modal isn't nice? You could alter the way a Modal is displayed with CSS. M
×