Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanbess/plugin-load-linked-products-by-ajax
Load Products Linked by Variations plugin products via AJAX
https://github.com/vanbess/plugin-load-linked-products-by-ajax
woocommerce woocommerce-extension woocommerce-plugin
Last synced: about 1 month ago
JSON representation
Load Products Linked by Variations plugin products via AJAX
- Host: GitHub
- URL: https://github.com/vanbess/plugin-load-linked-products-by-ajax
- Owner: vanbess
- Created: 2023-10-19T22:56:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-04T10:09:27.000Z (7 months ago)
- Last Synced: 2024-06-04T21:48:58.932Z (7 months ago)
- Topics: woocommerce, woocommerce-extension, woocommerce-plugin
- Language: HTML
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# PLUGIN: Load Linked Products via AJAX (WooCommerce/Products Linked by Variations)
Fetches products linked by variatons (set up via associated plugin *Products Linked by Variations for WooCommerce*) and allows them to load on same page instead of redirecting.
*Products Linked by Variations for WooCommerce* needs to be installed for this plugin to work.
WP Cache and transients are used to store linked product HTML and replace the entire document on click instead of redirecting.
Server side caching must be enabled for this plugin to work properly. Similary, any flags disabling wp_cache must be disabled in your wp-config.php file, unless you're using Redis or Memcached.
NOTE: this is a bespoke plugin created for a client, so will likely require mods to work for your use case.