Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

W3 osCommerce WIP


Recommended Posts

The admin is now largely complete. Only 1/2 pages remain to be worked on. All the old tables have been replaced with responsive tables which will scale to the device size. The implementation will be satisfactory to view on medium sized devices and up. An alternative implementation that caters for all screen sizes is possible but then you have to resort to hiding/removing content for small devices. The osCommerce core code and functionality remains exactly the same.

Link to comment
Share on other sites

https://www.dropbox.com/s/gccwpu7hpgtmm3z/Force Customer Country W3.zip?dl=0

Force Customer Country

Contribution Author: Olaf Larsson

If you only operate in / ship to one country you might find this contribution useful. I have modified the files for:

1) create_account.php

2) includes/modules/address_book_details.php

3) includes/modules/checkout_new_address.php

Follow the instructions in the package.

w3-1-min.png.32b636caca4f24b2c77da6e9dd9a889e.pngw3-2-min.png.6fa0113f30bc34d0020b3cbe92b8c9ba.pngw3-3-min.png.4cbac4af1b09b7886efe904bd1367066.pngw3-4-min.png.c048ccd00bef70e547304b3eabd68468.pngw3-5-min.png.f76742262bbb099b1c4dd691a682ae7c.pngw3-6-min.png.3510d66353f5d7a2f8b0acaa51bbc617.png

Link to comment
Share on other sites

Today I am going to improve on the performance of my shop, by caching the configuration values which are queried on every page load.

Contribution: Configuration Cache for osCommerce 2.3

Before we install the contribution, I use the following debugger:

Before installation:

w3-1-min.png.a1ac8826a2a598aa085ceb9fc82661ae.png

After installation:

w3-2-min.png.95c4a9485867e21f2f0fa2ea7ca49931.png

Link to comment
Share on other sites

Now I go to one of my product pages where the also purchased module shows a few products.

w3-1-min.png.39ac511e2b2f3ec3375172759ecdf667.png

How many people still remember / or ever knew how to work cache? Go to page 68 of the original osCommerce documentation and find the explanation there. After configuring cache for my also purchased products, here is the result:

w3-2-min.png.e6c686efe2c7e6828957303294fae466.png

Link to comment
Share on other sites

There is no more need for includes/classes/boxes.php, however I will leave the code there as a fallback in case anybody has/installs old code onto the package. In your installation you can delete this file, and then also in application_top.php

// infobox
  require(DIR_WS_CLASSES . 'boxes.php'); 

can be removed.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...