10Horizons Plugins
Forum Replies Created
-
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] pop up not workingAlso, the free version works differently than the PRO version of the plugin. With the free version, you can only have ONE upsell product per popup. This upsell product is set up through the plugin’s custom field.
If you want to be able to use Woocommerce Linked Products (upsells and cross-sells), please upgrade to PRO.
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] pop up not workingHi Felicity,
Are you sure you have set up everything correctly?
A few possibilities for the popup not showing up:
1. Your upsell product is out of stock, has no price, or does not exist.
2. You didn’t enable the popup on that product.
3. You enabled the popup but the upsell field is empty.Please check out the plugin documentation page here: https://10horizonsplugins.com/docs/woocommerce-upsell-popup-pro-docs/
Take a look at the demo site here: https://demo-upsellpopup.wpdeveloper.dev/
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Using Existing Linked ProductsHi Mike, thanks for your interest in our plugin.
If you purchase our pro plugin, we can custom code a solution for your specific needs for now. Going forward, we will be including an option at the global and category level for those who have thousands of products and can’t afford to change the setting for each item. This feature has been requested by a few users and it is already in our to do list.
Please use this contact form for further discussion. www.ads-software.com forum is only for the free version of the plugin.
Thank you.
Also, please only use this forum to post support request for the free version of the plugin.
Please use this form for support requests relating to the PRO version of the plugin.
Woocommerce Settings
For the plugin to work as intended, set the Woocommerce setting as follows:
Go to
Woocommerce > Settings > Products > General > Shop pages
And then for ‘Add to cart behaviour’, uncheck ‘Redirect to the cart page after successful addition’.
AJAX can be enabled or disabled for add to cart buttons on archives, popups will fire regardless.
- This reply was modified 5 years, 1 month ago by 10Horizons Plugins.
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] CUSTOMISE UPSELL POP UPHow can i see or view what the standard or no css option pop up template look like in the back end of word press???
You can’t. You have to view it on the front end. Also, there is no customization option for this template. It is meant for people who know CSS and wished to style the popup themselves using CSS.
All so i have managed the settings and the pop up isnt even showing when add to cart button is pressed??
Make sure you follow the instructions found on the plugin page.
Woocommerce Settings
For the plugin to work as intended, set the Woocommerce setting as follows:
Go to Woocommerce > Settings > Products > General > Shop pages.
And then for ‘Add to cart behaviour’, uncheck ‘Redirect to the cart page after successful addition’.
AJAX can be enabled or disabled for add to cart buttons on archives, popups will fire regardless.
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Cross-Sell PopupTake a look at this documentation and see if it answers your question: https://10horizonsplugins.com/docs/woocommerce-upsell-popup-pro-docs/setting-up-upsell-products/
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Cross-Sell PopupCan you explain a bit more about what you want to do?
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Bad element for Flickity: NULLThis error has been fixed in latest version (now pro). I’m marking this as resolved.
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Bad element for Flickity: NULLThe
thp-carousel
class is located in the default template file for multiple upsell products.This is where the file is located:
wp-content/plugins/very-simple-woocommerce-upsell-popup/templates/multiple/thp-popup-template-default-mult.php
Did you by any chance maybe change the content of the template file or other plugin files? Either that, or the include file which is supposed to fire the popup doesn’t get included because of plugin/theme conflicts. Or another possibility, is the .js file gets loaded before the include file is included.
A little bit more information about your WordPress and Woocommerce installation is appreciated. What plugins/theme you are running? Do you have AJAX enabled for Woocommerce? On what page did this error happen? Shop page or single product page?
In case you also want the current product to be added to cart, use the following code instead.
It’s basically the same code as above except that when user clicks the custom button, current product will be added to cart and then the popup will show.
Here’s the code:
add_action( 'init', 'remove_popup_trigger' ); function remove_popup_trigger(){ remove_action( 'woocommerce_add_to_cart', 'thp_upsell_popup_trigger' ); } add_action( 'woocommerce_after_add_to_cart_form', 'my_custom_button' ); function my_custom_button() { global $product; $id = $product->get_id(); //here is your custom button echo '<form id="your-id" method=post>'; echo '<input name="wc-upsell-popup-custom-btn" type="submit" value="Show upsell popup!">'; echo '<input name="wc-upsell-popup-product-id" type="hidden" value="'.$id.'">'; echo '</form>'; } add_action( 'wp_loaded', 'fire_popup'); function fire_popup() { if (isset($_POST['wc-upsell-popup-custom-btn'])) { $prod_id = filter_input( INPUT_POST, 'wc-upsell-popup-product-id', FILTER_SANITIZE_NUMBER_INT ); WC()->cart->add_to_cart($prod_id); //this line of code adds the current product to cart thp_fire_php_include($prod_id); } }
If I understand you correctly, you want the popup to show when user clicks on a custom button on a single product page, is that right? Meaning you don’t want the product to be added to cart?
If that’s what you want, drop this code to your theme’s functions.php file.
add_action( 'init', 'remove_popup_trigger' ); function remove_popup_trigger(){ remove_action( 'woocommerce_add_to_cart', 'thp_upsell_popup_trigger' ); } add_action( 'woocommerce_after_add_to_cart_form', 'my_custom_button' ); function my_custom_button() { global $product; $id = $product->get_id(); //here is your custom button echo '<form id="your-id" method=post>'; echo '<input name="wc-upsell-popup-custom-btn" type="submit" value="Show upsell popup!">'; echo '<input name="wc-upsell-popup-product-id" type="hidden" value="'.$id.'">'; echo '</form>'; } add_action( 'wp_loaded', 'fire_popup'); function fire_popup() { if (isset($_POST['wc-upsell-popup-custom-btn'])) { $prod_id = filter_input( INPUT_POST, 'wc-upsell-popup-product-id', FILTER_SANITIZE_NUMBER_INT ); thp_fire_php_include($prod_id); } }
Change the code accordingly to suit your needs.
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Close pop-up without redirectJust a heads up, this feature wasn’t ready for v0.4 update so it will be included in the next update (v0.5).
Thank you for your patience.
Forum: Plugins
In reply to: [Woocommerce Upsell / cross sell Popup plugin] Close pop-up without redirectHello, mrcarlsen, thank you for using our plugin.
To answer your question, at the moment there’s no option in the plugin to do so. But I will take note and will include this as a new feature in the plugin’s next update. If you have other suggestions, feel free to let us know!
Forum: Reviews
In reply to: [Gutenberg] -5 Negative Stars!!!! The end to WordPress SimplicityEnd user, not “customer”. WordPress is free. All the developers are not being paid for being involved in the project. But I get where you’re coming from.