Sage 9.0.5 should install, if not update to a version of PHP that Sage 9 needs and try again.
On Mac, you will be prompted to answer a few questions about the theme. Eventually you will be asked which framework you want to use, select option 0 to install no framework.
On Windows, you will need to cd to the new theme’s directory, and then run the following 3 commands, 1 at a time. Answer all the prompts to complete the Windows setup (https://discourse.roots.io/t/no-option-prompts-for-composer-sage-install-on-windows/11339/3).
\!h ./vendor/bin/sage meta
\!h ./vendor/bin/sage config
\!h ./vendor/bin/sage preset
Again, select option 0 when asked which framework you want to use
To add viewScroller.js to a Sage 9 theme, create a sub- directory in the 'resources' directory, include the main css and js files. Unless you need to use viewScroller on every page on the site, assets are best queued conditionally; e.g. front-page on
Use the below snippet to re-create a custom Product Sort Select element in WooCommerce. This example uses 'Semantic UI' to style, note the 'ui', 'select' and 'dropdown' classes on the select element. Note the function on line 3 to add a hover effe
Use the below snippet to use a select element to filter in/out content on the page. This example assumes: 1) The select has an ID of 'filterSelect'
2) All elements that can be filtered have a class of 'all' This example assigns the selected option