Code

Discussion on Extra Product Options & Add-Ons for WooCommerce

Discussion on Extra Product Options & Add-Ons for WooCommerce

Cart 36,339 sales
Recently Updated

ThemeComplete supports this item

Supported

This author's response time can be up to 2 business days.

10130 comments found.

Hi guys, I’m using the plugin have one year and is working nice. But I use them only in 8 pages of my entire site. Is possible run the plugin only in this specific pages using a function or hooks?? Thanks.

pages/products

For this you will need to go to the plugin settings->Display tab->Display and set the “Display” setting to “Show using action hooks”. Then enter the following to your functions.php file:

function custom_run_epo(){ 
    global $post;
    if ( $post && $post instanceof WP_Post && in_array( $post->ID, [ 100, 200, 300 ] ) ) {
        do_action( 'woocommerce_tm_epo' );
    }
}
add_action( 'woocommerce_before_add_to_cart_button', 'custom_run_epo' );

You will need to replace the array [ 100, 200, 300 ] with the product ids that you want the plugin to be displayed.

This works, thanks guys. I love you s2

Hi, I have a pre-sale question I’m hoping you can answer.

We have products with a lot of variations, some more than 300 variations. We need to use conditional logic to display a relevant extra option.

Product has 6 widths, 6 heights, 10 lengths. The extra option should display the relevant option based on only the width selected, not the full variation.

  • Extra A is only for widths up to 30cm
  • Extra B is only for widths 30cm to 60cm
  • Extra C is only for widths 60cm+

With so many variations it’s not going to be practical to map each variation to the correct extra option, so we need to use conditional logic only on the width attribute.

Is this going to be possible with your plugin?

I’m afraid that you cannot use conditional logic based on the attribute. What you can do is display global forms based on product attributes if that helps.

Presale question Hey, I am planning to use your multi image swatch option. I would like to know if I can add check box below each image swatch so that my users can select what variant they want.

https://epo.themecomplete.com/product/checkboxes/

Something like this but for choice 1, choice 2 and choice 3 I need to add a check box.

You can either have an image or a checkbox but not mix and match, it can either be all checkboxes or all images.

The radio options (image swatches & color swatches) on the phone must be pressed twice to select. Is there a way to make it like on the computer just press once to select. Thank you!

That should happen only when you have a tooltip in which case is what should happen since mobiles don’t have a hover event and replace it with a click.

Hi, we’ve been using the plugin for a few years with no problems until the last update when it slowed down the site loading a lot. I did the necessary checks and noticed that the plugin does hundreds of MySQL queries even more than Woocommerce. I’ve added a screenshot from the Query Monitor. https://prnt.sc/7DHcTOZFIsP- And the screenshot below is with the plugin disabled where you can see that woocommerce has less MySQL queries https://prnt.sc/Z0FW8IGBlcDO How to fix this problem? Our server crashes very often

That is quite strange. On my end I don’t have such numbers. Here is some screenshots of the Query Monitor for the demo site:

1. Backend: https://prnt.sc/KOVi2rdaw5mS

2. Homage: https://prnt.sc/KcMUkHjxwlTN

3. Shop page: https://prnt.sc/ubI5u2eq0kO7

4. Product page: https://prnt.sc/xx47JW_DSK0w

I would have to troubleshoot this on your site so please open a support ticket.

Hi,

Is it possible to show 1 image after choosing from a radio button? I am working for a client that uses your plugin, but they want to show 1 image after choosing an option (with radio button or from select-menu).

regards

Great thank you, I see how it works now. Any chance to send me a CSS code for placing textfield next to the heading(image), like in a row of 2 columns?

You can just use the builder for that, there isn’t any css for that.

For any further assistance, kindly submit a support ticket. Thank you!

Awesome, works perfect! Thanks for your support!

Hi! Is it possible to hide the Options Amount and only display the Final Amount ?

I’ve tried but wouldn’t work. Is there another way around it? :

.tm-options-totals { display:none; }

You don’t have to use custom css for that. Go to the plugin settings->General tab->Final totals box and set “Show Options Total” to “Hide”.

Fantastic! Thanks so much! It worked

Hello
Ask How can you set it like that?
I have my label additional products for pizza
paprika
pepper
Ham
Onions
When I print out the invoice everything is lined up.Peppers, Pepper, ham, onions
But I would like everything to be shared
paprika

pepper

Ham

Onions

The way the data are displayed either on the cart/order/checkout and email/invoices is up to WooCommerce or the current theme. The plugin only feeds the data. You can go to the plugin settings->Order tab and enable the “Unique meta values” setting to see if that makes a difference.

Hi! I suddenly see these errors on every product page. Please reply immediately what to do:

Warning : Undefined Array Key ”D_ELEMENT_COUNTER” in

/www/wwwroot/domainname.com/wp-conflicing/plugins/woocommerce-tm-product-options/includes/class-themeComplete-Epo-Display.php. on line 907

Found the solution in case anyone ever needs it: It’s due to the PHP version. I updated the plugin to latest version 6.4.2 and now it works with PHP 8.1.

Glad you go it sorted out :)

Is it possible to use a URL to link to an specific option?

for example if I have a product with options Small, Medium, Large could I make a URL for my menu like:

website.com/product?=small
website.com/product?=medium
website.com/product?=large

and it would change the option to that particular one?

it works! thank you

I don’t suppose this could also work with 2 selections? So linking to an option in my first Select box as well as an option in my second Select box? I tried to play around with some combos of URLs but couldn’t get anything to work …

Yes, it can work. You will need to separate the url variables with &

eg. https://epo.themecomplete.com/product/conditional-logic-test/?tmcp_radio_0=Flavor%202_1&tmcp_checkbox_2_0=Setting%201%20b_0&tmcp_checkbox_5_0=Setting%201_0

Note that the %20 is the space character url encoded.

Hello, I have 8 pre-order questions :shocked: ( i hope is not to much )

I checked your documentation and I saw all your examples including:

1 ) Based on first example, I saw that the price from lookup table is an a option , can be set-up as “original price” and rest of the options to be based of this price .

I have a customer(actually is a good friend) that sells wooden blinds and i need to calculate the price and the tables prices come something like the table from your examples .

Also there are multiple options like colors that 10% increase of the calculated price , anti humidity treatment for 15% increase of the calculated price etc..

So i want at the end to be displayed :
  • Initial amount : $100.00 ( the calculated price that is set as original price)
  • Options amount: $25.00 ( the total price for options (10% + 15%) )
  • Final total: $125.00

It is possible ? ( now or in near future )

2 ) Based on your first example can be accepted next values width= 5 , height = 50 and to return 44 ?

3 ) Based on your first example if the table at width= 80 , height = 190 there is no value ( empty string) what will happen if the customer will use width= 75 , height = 185 ?

4.) I saw that is compatible with WPML , is also compatible with mulicurrency from WPML ? https://wordpress.org/plugins/woocommerce-multilingual/ If not what is your best recommendation .

5 ) I saw that is compatible with ELEX WooCommerce Role Based Pricing and based on your first link example ( and from what you know) can i make it work so for a specific role if width = 45 and height = 145 the price to be 215 (from calculation ) * 1.20( from ELEX 20% markup ) * 2.5 ( from currency exchange rate ) = 645 and when the options from question 1 are selected to work as expected and “Final total” to be 806.25

6 ) Requests for hooks (actions and filters ) are accepted ?

7 ) In case I can make fixes , improvements , add new features (I have +20 years exp) can i submit to be checked and implemented ? or like i saw on some plugin authors in the moment when you send them a list of fixes or improvements you will start to be ignored and never receive a feedback like : – this will not be implemented because …. – this code break ….... – this will be added in next update with the fallowing code … – etc …

8 ) On request can we make a meeting (google meet for example or anything else ) with one of your developers for 1 hour if I agree to pay for that hour of developer time ? because sometime on complicated things i prefer to show and speak when via messages i see I’m not understated . ( This way i can avoid a lot of days between emails until the problem is fixed and i prefer to pay for your time because will be cheaper for me )

Please answer at questions using the number from the question .

Thank you very much and your answers will be greatly appreciated . Based on evaluation of your answers i will go forward with the order with 1 year support ( Is not necessary all answers to be positive to do the order :grin: )

In this case since there isn’t a specific value of 75 and 185 the system will try to find the next value. That will be 80 and 190. Since that there isn’t any value though the result will be 0. The add to cart button cannot be deactivated because of this I’m afraid.

Sorry for late response ,

Based on image from my last response , can be possible to do something to force to use values for width and height so the value returned to be >0 if not to disable the add to cart button . This suggested option at least to be for calculation field ( that will be in next update ) when you set it as original price .

Also for for calculation field I have 2 additional suggestions: 1.) to have the possibility to hide entirely this field (if is not already considered) 2.) to use it also to set the weight of the product , used latter in the cart / order to calculate shipping – nice feature

There isn’t anything to disable the add to cart button based on the return option price.

About your suggestions:

1. I don’t understand the condition in which the field should be hidden.

2. There will be a separate element to set the product weight in the next release.

Hi love the plugin, So many options and flexability.

I wanted to ask a question – I have a setup where at the end of the product options being specified – I want to be able to have the customer Quote for some products and not checkout.

Do you think this plugin would be compatible? https://codecanyon.net/item/woocommerce-quote/44590140

Regrettably, we’re unable to ensure compatibility from our end with filter/quote/wishlist plugin types due to their operational mechanisms.

I can confirm that this plugin doesn’t include the EPO in the checkout.

Hi support, quick question:

I managed to add a text field to a custom Elementor woocommerce product page by showing “After cart form”. It shows correctly https://www.awesomescreenshot.com/image/46027418?key=e8181f65a369f824ca2cd3403d2fa29e

But when I add a text, it doesnt “get” the text in the cart nor the order. Is there a setting I missed or is it simply not working with Elementor? https://www.awesomescreenshot.com/image/46027513?key=87a05b4365e2c94c25d40b773f844370

Hope you can help, thanks! Have a nice day, Steff

Thank you for reaching out for support! For a more efficient response, we encourage you to use our profile page email: https://codecanyon.net/user/ThemeComplete#contact or submit a support ticket at https://themecomplete.support/forums/forum/extra-product-options/.

Hi, I have a question regarding the Upload function. Is it possible to create a ruleset for the file names when users upload files? How are uploads currently named? Thanks and best regards!

The uploaded file names are as is, the folder in which they are saved is customer and session specific.

Hi, I’ve already written to you once without getting a response, unfortunately my license has expired but I can’t have problems every time you update plugins. On the site in the form, I used conditionals a lot to compose the final product. It was hard and long work to build forms with conditionals. I attach a link to a video (created locally) of what happens when I update your plugin. I hope there is a solution without having to redo all the global forms of the products, of which there are six!

video https://www.demo3.prontoweb.eu/wp-content/uploads/2024/02/update-conditional-problem.mp4

thanks

Hi, I assure you that no cache plugin is installed on the site and I have tried with 3 different browsers: Chrome, Firefox and Opera but the problem persists. So evidently modifying the conditional part creates this error. Is it possible that no one complains about the problem? Do I need to buy another license to resolve this? ps: I also tried changing the theme (storefront) but nothing thanks

No, there’s no need to purchase another license. The video clearly indicates that it’s a cache issue, specifically referring to the browser cache rather than any cache plugin. If you’re unable to resolve this independently, I’d be happy to troubleshoot your site.

Thanks, I responded to your private email for this

The final button in my wizard has disappeared. Please assist urgently.

Thanks for reaching out! To facilitate a quicker resolution, please connect with us via email on our profile page: https://codecanyon.net/user/ThemeComplete#contact or open a support ticket at https://themecomplete.support/forums/forum/extra-product-options/. Your cooperation is appreciated!

Hi, my select dropdowns are missing the arrow on the left/right. can’t find where to fix this. can you please point me to the settings for it? Screenshot: http://tinyurl.com/26ahvdr8

The plugin doesn’t style select box elements, those are styled by your current theme. Switch to a default WordPress theme to see the difference.

Is there a way to be able to select several extras and only be charged for the highest value of the marked options? I can’t find it in the documentation. Thank you!

I’m afraid that there isn’t anything like that in the plugin.

great modul i also need tiered pricing. what plug-in is compatible with it?

There isn’t any known plugin that is compatible with tiered pricing from our end.

i tried to do with the lockup table. but struggling. do you maybe have a sample?

Hi! We set up filters and assigned them to a certain category, but we don’t see them on the product page. When we try to buy, it reminds us that we haven’t filtered, this means that it does work, but it’s not displayed. Is there a specific widget for this? Or some code or setting that needs to be activated.

Thanks for reaching out! To facilitate a quicker resolution, please connect with us via email on our profile page: https://codecanyon.net/user/ThemeComplete#contact or open a support ticket at https://themecomplete.support/forums/forum/extra-product-options/. Your cooperation is appreciated!

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey