Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.