Products
WooCommerce
Show Elementor Pop Up For Only Certain Products Based on iMember360 Conditionals – Works for dynamic Upsell offers
Build a pop up in Elementor. Create an iMember360 Conditional that evaluates to TRUE when the product you’re targeting is in the cart. For help creating other iMember360 Conditionals using ChatGPT, click here: https://wiki.trueproductions.com/article/chatgpt-prompt-for-creating-imember360-conditionals-in-php/ This inline conditional will evaluate to true if product ID 9192 is in the cart. To adapt for other uses, swap […]
ChatGPT Prompt for creating iMember360 Conditionals in PHP
I used ChatGPT to create iMember360 conditionals to only show a pop up on the cart page when certain products are in the cart. Here’s that whole task from start to finish: https://wiki.trueproductions.com/article/show-elementor-pop-up-for-only-certain-products-based-on-imember360-conditionals/ Here’s the prompt I used (You can see the original ChatGPT convo here, but I’m not sure if those stay forever, so […]
InfusedWoo Page Redirect Not Working Fix
Elementor has section that needs to be changed. The Solution: To restore the redirect functionality, you’ll need to allow WooCommerce to handle the thank you page process again. Here’s how: Navigate to your Elementor WooCommerce settings Find the “Purchase Summary” page setting Clear/empty this field (see attached screenshot for reference) Save your changes section […]
Add Multiple Products to Cart with Single “Add to Cart” Link
Add the code below to functions.php Once that’s done, WooCommerce add-to-cart links will work with multiple products in the following format: https://website.com/cart/?add-to-cart=586,592,593,595,596&quantities=1,1,1,1,1 586, etc. are the product ID’s you want to add to cart, and in this link, the 1’s are the quantity of each product, listed in order, separated by commas. /** * Add […]
Redirect Client Portal Success Pay Invoice to Dedicated Thank You Page
// When Client Portal Invoice Paid Redirect to a Dedicated Page add_action( ‘i4w_cportal_invoice_pay_success’, ‘payment_success’ ); function payment_success( $array ) { header( ‘Location: http://www.apple.com‘ ) ; }
How to Disable Automatic Plugin Updates in WordPress
How to Turn Off Automatic WordPress Core Updates 1. Access your wp-config.php file in order to add this snippet: define( ‘WP_AUTO_UPDATE_CORE’, false ); To access the file, you’ll need to either use FileZilla (or another File Transfer Protocol (FTP) solution) or the file manager in your web host’s cPanel. Once you have access, move to […]
Help With AutoLoad Clear AutoLoad WooCommerce
It’s safe to turn off the autoload, but upon the next woocommerce update it will be turned on again. So the long-term solution is to turn off the setting “Allow usage of WooCommerce to be tracked”. Here is how to do this Check your “Allow usage of WooCommerce to be tracked” setting: Go to WooCommerce […]
ReCaptcha Plugin for WooCommerce
https://wordpress.org/plugins/recaptcha-woo/
Clear cart before adding a product to cart.
Add to funtions.php // Empty cart when product is added to cart, so we can’t have multiple products in cart add_action( ‘woocommerce_add_cart_item_data’, function( $cart_item_data ) { wc_empty_cart(); return $cart_item_data; } );
