Code

Discussion on Extra Product Options & Add-Ons for WooCommerce

Discussion on Extra Product Options & Add-Ons for WooCommerce

Cart 36,376 sales

ThemeComplete supports this item

Supported

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

10135 comments found.

Hi Steve,

I’m on Version 2.5.6, and I’m having issues importing individual product options. I’ve customized the plugin, theme, and Woo so much that I can’t update. Is there a file fix that I can upload to TM in order to fix the import/export options?

Thanks, Josh

I’m sorry but I can’t support customized plugin versions. If you are using WooCommerce 2.3+ or WordPress 2.4+ the version you got isn’t compatible and could create issues like that.

In any case if by importing individual product options you mean options created in the builder you shouldn’t really have any issues if you use the latest plugin version. If you mean options created in the local mode I’m afraid those cannot be imported/exported as they are linked to the particular product and they don’t have any meaning or sense in another.

Hello, nice plugin !

It is possible to customize all text ? And hide price if it’s free ?

thanks

You can globally hide the prices if they are zero. I’m not sure what you mean about the text.

Hello there, I just purchased a license, was setting up my site to work with this but I have a big problem with the file upload in the single product page form. The filepath shown in the single product page after upoading a file seems very wrong, and once the user clicks on “add to cart”, the file is lost. It’s not being uploaded anywhere at all, in the order page at the backend there’s no reference to the file at all either. Need help, and this is rather urgent please. Is this the right place to ask for support? Would upload screenshots but I dont think I can do it in here Also, even if I try to hide the filepath for cosmetic purposes, it doesn’t hide. I can fix this with CSS quite simply, my main concern is with the actual file not being uploaded. But that seems like something we need to check out for as well.

It’s best to either create a ticket in the forums (http://support.themecomplete.com) or email me via my profile page at codecanyon.

i need this plugin but before i buy i have samething to say . does it show the option in the order email ? plz let me know

By default every option you create that has a value assigned by the customer is shown in the emails.

thanks i buy your plugin

Can you please tell me the code to stop 0$ cart item people from checking out and placing the order. Please. I bought support last time for this alone and 6 months went by and now i got rebuy? No way i am absolutely insulted if you don’t help me resolve this with code.

I’m not sure what you mean you can’t update the plugin like that. You just delete it the one you have from the dashboard and install the new one. There isn’t just one piece of code that you add and does this. It’s more complex that that.

It’s actually really simple, its just all devs blow up simple things into something complex. a simple IF CART ZERO THEN DONT ALLOW CHECKOUT code

Ok since you just want the piece of code here it is.

if (floatval(apply_filters('tm_epo_no_zero_priced_products',$cart_item['data']->price,$cart_item))==0){

                throw new Exception( __( "You cannot add zero priced products to the cart.", 'woocommerce-tm-extra-product-options'  ) );

        }
You must place this to the class-tm-extra-product-options.php file on the public function add_cart_item just before the last line of the function return apply_filters("wc_epo_adjust_cart_item",$cart_item);

Now this is just the code that checks if the product should be added to the cart. I won’t give you here the rest of the code that adds the setting.

Hi There,

I need to display the regular price and the sale price in the Final Total box, can you tell me how to do this?

Thanks!

Unfortunately you cannot really do that. Something like that isn’t coded in the plugin.

Hi There.

I’m looking to add support for my plugin with yours. Last time I checked EPO didn’t allow for easy extending, and that the integration needed to come from your side. Any chance we can chat around coming up with a solution. Just want to make sure you are interested before I purchase.

https://codecanyon.net/item/woocommerce-estimated-dispatch-date/15865347

Basically I want to be able to add modifiers to a field that can affect the estimated delivery date of a product.

Thanks!

Please email me via my profile page and explain to me what it will be needed.

hello, the exta order information data is not being displayed in the order confirmation email.. Please tell me what is the problem

I will need an admin account to troubleshoot this please. You can send it to me in the email.

issue solved; great service! thank you

Glad I could help out!

Hi, Is there a shorcode to show the extra options chosen by the customer?

No there isn’t. Show them where exactly?

Hi, we see the option for float box. But we would like to show the selected extra items on another location on a page. Do you understand?

Right, in that case the only thing you can do is have a container in your page with a css class of tm-floating-box-nks in which case the floating total will be shown to that location instead.

The steps options is duplicating the content. Even in the demo this is happening. Ex.: http://epo.themecomplete.com/product/happy-ninja/

I’m using Ubuntu and Google Chrome 54.0.

I don’t see any duplication in the link you posted.

Hi, really appreciate your plugin, thank you for your work!

But I have found that there is room for improvement. I usually optimise my web sites to 100/100 (Google PageSpeed), but when I activated Extra Product Options I got noticeably lower results, which can be easily avoided.

1. Could you minify all your .js files, when you ship your plugin? Google PageSpeed Insights says: Minify JavaScript Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time. Minify JavaScript for the following resources to reduce their size by 34.2KiB (27% reduction). Minifying http://mgsritual.ru/…ct-options/assets/js/tm-epo.js?ver=4.3.4 could save 12.5KiB (31% reduction) after compression. Minifying http://mgsritual.ru/…ons/assets/js/tm-datepicker.js?ver=4.3.4 could save 10.3KiB (41% reduction) after compression. Minifying http://mgsritual.ru/…ons/assets/js/tm-timepicker.js?ver=4.3.4 could save 6.7KiB (36% reduction) after compression. Minifying http://mgsritual.ru/…ptions/assets/js/tm-scripts.js?ver=4.3.4 could save 4.7KiB (11% reduction) after compression.

2. Could you make this plugin load its files only on selected pages (for example: single-product page only)?

3. More from Google PageSpeed Insights: Prioritize visible content Your page requires additional network round trips to render the above-the-fold content. For best performance, reduce the amount of HTML needed to render above-the-fold content. 57.8KiB of the HTML response was required to render the above-the-fold content. This requires 3 network round-trips. Prioritize the above-the-fold content so that it can be rendered with only the first 2 round-trips’ worth of HTML. None of the final above-the-fold content could be rendered with the HTML delivered within 2 round-trips.

It appears that your plugin loads only after page load and sometimes it increses server response time up to 400ms, which is very bad.

4. Does your plugin allows to be updated through WP plugins page when there’s a new version?

5. Can you improve conditional logic to check if global form exists? For example: I have 3 global forms, FORM1 (choose material of the product), FORM2 (if specific material from FORM1 is selected, FORM2 appears, which lets me select color), form 3 (if specific material from FORM1 is selected, form 3 appears, which lets me select second color). I have 2 products and some products let me choose 1 color, some – 2.

Thank you again for your work!

I have done some extensive testing and in order to get a perfect score from Google PageSpeed Insights it is essential that:

1. Аll css must be put in one .css file and minified, all js must be put in one .js file and minified. Or there should be such an option in settings (remember, that those files should not be compiled when a client loads the page, they should be prebuilt and loaded with the plugin, or the server response time will be to enormous). 2. There should be an option to display the extra product options right away. 3. Maybe an option to disable FontAwesome on the front end (I really don’t need it, and it takes up to much space).

I have tried minifying .js files by myself and it helped a lot, but it won’t help your other clients) Once again – thank you for your work! Hope to see an update for your great plugin!

Hello again!

1. I have encountered a problem – I use 3 global forms from a single simple product, when I add this product to cart (with all options unchanged) and go to cart page the thumbnail src is absent. I have tried re-uploading images, changing different settings. The thumbnail appears when I change an option, which adds price. Everything works with another product (which uses local + global form).

Here’s a link

http://mgsritual.ru/%D0%BC%D0%B0%D0%B3%D0%B0%D0%B7%D0%B8%D0%BD/%D0%B3%D1%80%D0%BE%D0%B1-%D0%B3%D0%BB%D0%B0%D0%B4%D1%8C/

you can add this to cart (blue button) without setting options and check the cart to see that there is no product thumbnail.

2. Another idea for a future update – can you make the photo (which replaces the product image) to use all the available image sizes (like WooCommerce product grid images originally does), so that the browser can choose the correct image size for retina displays (otherwise the option is useless because swapped image is blurry on iPad, iPhones, MacBooks e.t.c.).

For example

Гроб «Гладь»

WooCommerce used all my custom sizes.

I will need an admin to troubleshoot this. It’s better to use the support forum for issues like that. You can now email me via my profile at codecanyon.

Hi, how to customize checkout review table? Now the extra options row beneath the shipping rate row, and above total. I mean I want it to be in order like “main product” > “extra options” > “subtotal” > “shipping rate” > “total” in checkout review table. I found your demo is correct (extra options row beneath main product row but shipping rate).

You can’t use the plugin to customize the way the checkout review table is displayed. The plugin just feeds the information to WooCommerce which then displays the table.

Does this support Multi vendor theme rehub?

I can’t be sure to be honest. I can’t test all themes.

Hi,

How do I position the text field label so that is centered with the field? It looks like it is positioned to the top left right now. Please see the image here: http://pasteboard.co/r2Uzn9jMN.jpg

Thanks!

And a related question: how do i change the color of the “This field is required” message that pops up when that field doesn’t have the correct input? Right now, it’s red but I’d like it to be pink to match the theme.

When I click add to cart without having entered the required text field, the message that normally appears at the top on desktop ””Your Snapchat Name” is a required field” doesn’t show up on mobile. How can I enable that warning message on mobile as well, so customers know that they missed it?

Hi,

I’m trying to figure out how to set up a product page where the base price is zero until you click one of the options. So far the only way that I’ve managed to get the extra options to show up that way is setting the product to Simple Product with a price of Zero (leaving it blank doesn’t work).

However, a customer is able to add that zero priced product to their cart. I’d like to be able to set it so that you can only add to the cart if the value is >$0. Basically, the add to cart button is still visible but disabled if the price remains zero. This would be similar to how woocommerce works with variable pricing. You can’t add to cart until you click one of the variables.

Thanks!

You can make one of your options required and it would solve that issue. Actually, you should since the product price is zero.

I could put a required age verification checkbox, for example, but if the customer were to click the checkbox and add to cart it would still be a zero dollar product added to the cart. hiding the add to cart button if the final total is 0 would work but when I had that setting enabled, the add to cart button still remains. The ideal situation would be that you can’t click on the add to cart button if the final total is 0 instead of trying to hide it.

You need to make a option that has a price required not create a new option.

Hi there! I have a suggestion for a future update that would save me hours of time (and maybe others).

Would you add a button to each row like so: http://stephaniebertha.com/add-above-row.jpg

So, when you click that button, a new row will show up above the field that you just clicked.

At the moment, I’m adding 7 new colors in my option field, but I also have 8 pages that I have to go through and drag and drop these new options. It’s nauseating thinking how much time this will take because they need to be in alphabetical order.

This would be much appreciated if you could implement this.

Or is there a way to view all rows at once? Right now, it’s set to 20 per page. That would help immensely!

I’ll see what can be done about it!

Hi – Have a presales q for you – can I manage stock accessible with this so I instead of “in/out of stock” and find more options like “2-4 days delivery” – “a week delivery” ect ect?

I’m afraid that you can’t unfortunately.

Hello! I’m interesting in your plugin… but I’m wonderig if there is a way that I can see the back end of this plugin on your live preview… to be sure that I can do what I’m looking for… Create a form with 3 different variables and then calculate a discount for the application of a “2×1” promotion, combine this 3 variables…

Example;

Select 0-5 adult Select 0-5 menor Select 0-5 baby

If client selects 1 adult and 1 Menor… charge only the price of the adult…

Ana

I’m afraid that there isn’t any admin demo available, but I can tell you right now that you cannot apply discounts like that on the options unfortunately.

Well, thank you so much for your simple and quickly respond. :)

Hello if I under variation and click changes no picture? I’ve been around for hours on what is the cause I can not get anything, please for help

http://preiswolf24.de/produkt/hundebetten-und-hundesofas/

When I click on color (Farbe) appears but no image

Please update the plugin with the one from http://support.themecomplete.com/forums/topic/avada-5x-compatibility/ and tell me if you still have the same issue. Make sure to clear the browser cache.

Hi, how do I remove the “Free!” which is shows in the price when i click on the Brand as shown here http://e-stolo.com/brands/matco/ ? It does not show free on the catergories page however as I have selected remove free price label on the display settings.

Will do now.

Did you get my email with admin details?

I have responded to the email 3 days ago. Do you still have the same issue?

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