profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/scottcwilson/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Scott C Wilson scottcwilson That Software Guy Tampa Bay, Florida https://www.thatsoftwareguy.com Focused on eCommerce: Mostly Zen Cart, although I have also worked with osCommerce, WooCommerce, OpenCart, BigCommerce, and Shopify.

scottcwilson/ort 1

A book group website built with Jekyll

lhungil/zc-v1-series 0

Master branch represents the current release. Please see the README.md for each branch.

scottcwilson/APIv3-examples 0

Example code for version 3 of the MailChimp API

scottcwilson/authorizenet_cim 0

CIM Module for authorizenet for zencart

scottcwilson/Awesome-Profile-README-templates 0

A collection of awesome readme templates to display on your profile

scottcwilson/caddy 0

Fast, cross-platform HTTP/2 web server with automatic HTTPS

scottcwilson/courses 0

Course materials for the Data Science Specialization: https://www.coursera.org/specialization/jhudatascience/1

scottcwilson/edit_orders 0

Edit Orders: Updates for continued operation on Zen Cart v1.5.5

push eventscottcwilson/zencart_documentation

Scott C Wilson

commit sha be2e94a011bbb8d601c3c52353e3e73ffc0bebe5

Update doc for Authorize

view details

Scott C Wilson

commit sha d17f67bc6087405ce2f1c3aed661ec43b6e7c6cc

Merge pull request #740 from scottcwilson/auth Update doc for Authorize

view details

push time in 15 hours

push eventzencart/documentation

Scott C Wilson

commit sha be2e94a011bbb8d601c3c52353e3e73ffc0bebe5

Update doc for Authorize

view details

Scott C Wilson

commit sha d17f67bc6087405ce2f1c3aed661ec43b6e7c6cc

Merge pull request #740 from scottcwilson/auth Update doc for Authorize

view details

push time in 15 hours

PR opened zencart/documentation

Update doc for Authorize
+4 -2

0 comment

1 changed file

pr created time in 15 hours

create barnchscottcwilson/zencart_documentation

branch : auth

created branch time in 15 hours

push eventscottcwilson/Responsive-osCommerce

gburton

commit sha e9b15c9c72a8ff1e441d467e6396b8296e92eed8

Default Language

view details

Matt Fletcher

commit sha 54ef2591a5c2a89f43246f9cb98f2ceb3adcfecf

Fix zones with no geo zones notice

view details

Matt Fletcher

commit sha acd0a80c906804630cd4baf178ebae249d4e2b85

Fix invalid argument for foreach warning

view details

Matt Fletcher

commit sha 2ed70261412065573f2b8a0dc1841db22561ac27

Clean up and modernize

view details

Matt Fletcher

commit sha 8afe424238561d76699db074801ebb5a8733046d

Initial new versions

view details

Matt Fletcher

commit sha bd65afb01ad6205e8419612d820cf1e69347a435

Avoid warnings/notice in PayPal App

view details

Matt Fletcher

commit sha 26193af724317f0d94d51f8bf11d5f86b79dfdb0

Match jQuery ID selector to form input's ID

view details

Matt Fletcher

commit sha e12e8515c40a036d423e5b2180683c9b1dac859c

Map to the site-wide language translation

view details

Matt Fletcher

commit sha d7000045b2305aee71926d5d43286e61c9435516

Request type no longer needed in links

view details

Matt Fletcher

commit sha 257deafe3bc01e4df1611a161e405282bdb0b98e

Better subquery handling The original version starts from the beginning of the string and works its way back. This breaks when a subquery has the same keywords as it tries to find. This version will work if the subquery is in the FROM section. It searches backward from the back of the string rather than forward from the front. So if there are two WHERE clauses, it will find the second one instead of the first.

view details

Matt Fletcher

commit sha 23b4c699f430f82a16bd4d6c843579e8e4a665b2

Add string utilities class

view details

Matt Fletcher

commit sha 55282773ab16b351744d204002ead805d748aeb2

Implement siteWide as a pipeline hook Currently siteWide acts like a pipeline hook that operates on every page. But it has been implemented separately. This simplifies the implementation. Note that in the future, this would allow us to replace injectAppTop with siteWideStart. Which would then allow further simplification.

view details

Matt Fletcher

commit sha 6a314749c00190bd16319f113e04a55443e610b1

Replace injectAppTop with siteWideStart in checkout_success hook

view details

Matt Fletcher

commit sha ed7a5c8cae3313f8abc851e02eabea4b36927643

Separate category tree display, data, and structure The current category tree class mixes several things. It creates a tree structure to hold the category data. It loads and exposes the data. And it has specific displays of the data. This separates into multiple classes. A generic tree structure with tree operations. A category tree implementation of that, which loads and exposes the data. A display class. And a controller class for the display. This also simplifies accesses of the tree structure. Both because some could be simpler and through the addition of a parent_of data structure. This saves iterating to find a category in the tree. We can simply look up the location of any category. And we can find its ancestors through iteration of a simple lookup. The separation of data and display requires modification of uses of the category tree. In particular, the categories box.

view details

Matt Fletcher

commit sha f2e5ed0cc1aadc002123a6b44917051a7b2fb53a

Use revised category_tree to calculate category path This refactors the category path handling to make use of the category_tree and Product classes.

view details

Matt Fletcher

commit sha e407f65f6d4a3c7f3706ce5ef125eaf6f05e574c

Flip category depth logic Previously, the logic was if there are products, then it's products depth. Otherwise, if there are categories, it's nested. If there are neither products nor categories, show as products depth, and display a No Products message. This flips the logic to check if there are categories first. If so, it is nested depth. Otherwise, it is products depth. This is simpler and requires fewer database queries. Usually no additional queries, as the category tree would have already been built at this point. So we can just query the data structure. This does the same thing except when there are both products and subcategories in the same category. Then this shows as nested rather than products. This hides the products in the default install. But a cm_in_product_listing.php could be made to handle that. That would show both categories and products at the same time.

view details

Matt Fletcher

commit sha 654e507c4c2451d162fa9d34c178efe1e5e5e632

Use product class builders This makes the reviews and specials boxes join What's New in using product builders. In these cases, the product is randomly selected directly rather than fetching a product ID and then fetching that. They also switch to the new box and product card components.

view details

Matt Fletcher

commit sha 9f8d52cde22ae8362ef529b4c0c4511c038eecd9

Clean up and modernize

view details

Matt Fletcher

commit sha 16539f7646a328f729719193bea1d1c56789a19a

Deprecate tep_output_string_protected

view details

Matt Fletcher

commit sha 2af33438ccb48143c5dbf4c0da91d44bfc2bc4de

Clean up and modernize

view details

push time in 2 days

create barnchscottcwilson/zencart

branch : add_tinytext

created branch time in 6 days

push eventscottcwilson/ort

Scott C Wilson

commit sha 61ab19ff63d798fb4cd051d09070563c1878299d

Updates

view details

push time in 9 days

delete branch scottcwilson/zencart_documentation

delete branch : ignore

delete time in 18 days

push eventscottcwilson/zencart_documentation

Scott C Wilson

commit sha 957469bc49b8f76a1ef3a75c8505dbec7b20da23

Documenting ignore

view details

Scott C Wilson

commit sha 4c45e7d455f2e099e3a6ef3c21ab1106fe1e6851

Merge pull request #739 from scottcwilson/ignore Documenting ignore

view details

push time in 18 days

push eventzencart/documentation

Scott C Wilson

commit sha 957469bc49b8f76a1ef3a75c8505dbec7b20da23

Documenting ignore

view details

Scott C Wilson

commit sha 4c45e7d455f2e099e3a6ef3c21ab1106fe1e6851

Merge pull request #739 from scottcwilson/ignore Documenting ignore

view details

push time in 18 days

PR opened zencart/documentation

Documenting ignore
+18 -0

0 comment

3 changed files

pr created time in 18 days

create barnchscottcwilson/zencart_documentation

branch : ignore

created branch time in 18 days

pull request commentzencart/zencart

admin, category_prodcut_listings, change category status: correct parameter order

I like to note changes like this that can easily trip up upgraders on that page. Someone may have written custom code that uses it or someone just may be flummoxed seeing the switch.

torvista

comment created time in 22 days

delete branch scottcwilson/zencart

delete branch : restore_flags

delete time in 22 days

pull request commentzencart/zencart

admin, category_prodcut_listings, change category status: correct parameter order

@torvista please fix typo in title.

torvista

comment created time in 22 days

pull request commentzencart/zencart

admin, category_prodcut_listings, change category status: correct parameter order

Note to self: if merged, add to Release Specific Upgrade Considerations

torvista

comment created time in 22 days

push eventscottcwilson/zencart_documentation

simon1066

commit sha 3ae1db93ff7f953a2ac7343ae2eeb16138bf244f

How to use a disclosure widget to show/hide text

view details

Scott C Wilson

commit sha b506d2433d72d69d9e696a2d894ea0a238092d4c

Merge pull request #737 from simon1066/disclosure-widget How to use a disclosure widget to show/hide text

view details

Chris Brown

commit sha e1d4578ef169c6479bccb7ae3dced1b80bbb3551

Move "contributing" link to the top of Readme Ref: https://github.com/zencart/documentation/issues/738

view details

push time in 23 days

push eventscottcwilson/zencart

lat9

commit sha 590034cf4876d86b1f98c6962881788f693e1e45

157: Clean HTML for product_reviews_write, correcting PHP notices regarding missing variables.

view details

Chris Brown

commit sha 6e33518e8fe5f5c21aa64315119e0a1e5423af1e

Merge pull request #4451 from lat9/product-reviews-write-157 157: Clean HTML for product_reviews_write, correcting PHP notices reg…

view details

Chris Brown

commit sha b7119e53c19ec30732237e1c1826c34917e73a9e

Upgrade PHPMailer to 6.4.1

view details

Chris Brown

commit sha dcaf961cc0994eb3b586e2be8a18290efdd30989

Upgrade PHPMailer to 6.5.1

view details

Chris Brown

commit sha 2aae461926f1082dc33cd6411229d17484ebe1cb

Ensure display is sanitized Updates #4451

view details

push time in 23 days

push eventscottcwilson/zencart

Jacob Shilitz

commit sha 4b598355218d95f4ec9049c2eec06acb06cd6b6a

Fix expire sql cache only if file/db entry exist This fixes this PHP Warning that happen when the file never existed: ``` PHP Warning: unlink(/var/www/html/cache/zc_7eb4ed1f36d90140477d9474b61e0e26.sql): No such file or directory in /var/www/html/includes/classes/cache.php on line 92 ``` In order to be able to use the `existing sql_cache_exists()` method I update it to be null by default, if no cache time is passed to it.

view details

Scott C Wilson

commit sha 4f9c851550a08456c34a80aeb024a08e15823bf8

Ensure show flags are initialized

view details

Chris Brown

commit sha ba6e201a8bf8311f04e52f1e25b7f79ba040d3df

Ensure ctype_digit param is a string, per PHP 8.1 requirement

view details

lat9

commit sha dbd9959fdbb7502b9e945775645da3fd2e05cdc0

Ensure that any HTML in a product review's text is properly cleaned.

view details

mc12345678

commit sha 63ea44f74c3804bb4122e65f0c9e50596b6f7f00

Allow other multiple addresses to process If there is more than one recipient for an email, but only one of the recipients requested not to receive an email, existing code would stop processing emails beyond that individual. Worst case would be that the first of many did not want an email and therefore none would receive one. This change continues to interupt the process of sending the email; however, will allow the code beyond the loop to process error information and to use the notifier that is present (which may have an effect on "output").

view details

Chris Brown

commit sha 3a4d307ed9eba84e294ca96ddf0ce26cfc9e7545

Merge pull request #4452 from mc12345678/v158-email-functions-continue_loop Allow other multiple addresses to process

view details

Chris Brown

commit sha b19eafc54f4cf48a98fce7faacc5fdd6c689740f

Merge pull request #4450 from lat9/product-reviews-write-158 Ensure that any HTML in a product review's text is properly cleaned.

view details

Chris Brown

commit sha a5c64bded455b0fdff2ee96d25019381bbea10a1

Upgrade PHPMailer to 6.5.1

view details

Chris Brown

commit sha 2a4b3a0c7f97d2dc68bea0b5ac5c75930982a91a

Ignore cache-miss in file-mode if gc removed file

view details

torvista

commit sha 4bbb59ca226675102ec53f2021fb8930b1ba54d6

remove ambiguity

view details

Chris Brown

commit sha 602e7dd9b828af36642e49d0cf0acd81c5a869d7

Ensure display is sanitized Updates #4450

view details

Chris Brown

commit sha 697d50f5bb228d3c3cc3dabaa82051c48eeba3a4

Update query_factory for PHP 8.1 compatibility Ref: #4449

view details

Chris Brown

commit sha 935096c07bd0d091986dfaaf1bde9c6f314c69fc

Avoid notices on duplicate define attempt

view details

Chris Brown

commit sha 6acd7142dca05d5ab15fe669d97e8dfd6410a0ca

date

view details

Chris Brown

commit sha 2114a4aa01037009e158a81290ca33a62fd34187

Merge pull request #4359 from jacobshilitz/patche_sql_cache Fix expire sql cache only if file/db entry exist

view details

Chris Brown

commit sha c429e3d2dbb0b088ba8897543ac5151033ef9cf6

Merge pull request #4448 from scottcwilson/restore_flags Ensure show flags are initialized in invoice.php

view details

Chris Brown

commit sha 35b347e7b04903ed50b4c1272f957bec3a53307f

Merge pull request #4454 from torvista/pcl_1 admin, category_product_listing, action 'setflag": remove ambiguity

view details

push time in 23 days

issue commentzencart/documentation

Changing the 'Contribute to the docs' link

@simon1066 please create a PR or close as you think is best.

simon1066

comment created time in a month

push eventzencart/documentation

simon1066

commit sha 3ae1db93ff7f953a2ac7343ae2eeb16138bf244f

How to use a disclosure widget to show/hide text

view details

Scott C Wilson

commit sha b506d2433d72d69d9e696a2d894ea0a238092d4c

Merge pull request #737 from simon1066/disclosure-widget How to use a disclosure widget to show/hide text

view details

push time in a month

PR merged zencart/documentation

How to use a disclosure widget to show/hide text

Adding a new article on the use of a disclosure widget in /user/template/disclosure_widget.md

Edit: Apologies, I failed to read the contributing.md before submitting this PR so I may have been less than successful on some points. Better next time.

Sigh: To that end here is a preview link: https://deploy-preview-737--zencartdocs.netlify.app/user/template/disclosure_widget/

+44 -0

1 comment

1 changed file

simon1066

pr closed time in a month

pull request commentzencart/documentation

How to use a disclosure widget to show/hide text

Fantastic! Thank you so much.

simon1066

comment created time in a month

delete branch scottcwilson/zencart_documentation

delete branch : search

delete time in a month

delete branch scottcwilson/zencart_documentation

delete branch : colors

delete time in a month

push eventscottcwilson/zencart_documentation

Scott C Wilson

commit sha f299858dce671b7497d5c3eaf6b3db5efdea8c2b

Add notes on color management

view details

Scott C Wilson

commit sha 5839bf29c6b95daf0728f1f0ed07cd932ef240b3

Merge pull request #736 from scottcwilson/colors Add notes on color management

view details

push time in a month

push eventzencart/documentation

Scott C Wilson

commit sha f299858dce671b7497d5c3eaf6b3db5efdea8c2b

Add notes on color management

view details

Scott C Wilson

commit sha 5839bf29c6b95daf0728f1f0ed07cd932ef240b3

Merge pull request #736 from scottcwilson/colors Add notes on color management

view details

push time in a month