Code

Discussion on Extra Product Options & Add-Ons for WooCommerce

Discussion on Extra Product Options & Add-Ons for WooCommerce

Cart 36,372 sales

ThemeComplete supports this item

Supported

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

10134 comments found.

I noticed that lately file upload on iPhone doesn’t work anymore, while it still works on PC. I’m using latest plugin version and latest iOS version on my iPhone. Another client to upload file on MAC so it wasn’t working either

On Ios devices the upload will not work if you have the options outside the product form or if you use an ajax add to cart.

The latest update 6.4.4 caused errors. It was a result of an apply_filter on line number 620 in module class-themecomplete-extra-product-options.php creating a hook woocommerce_cart_shipping_packages and passing an empty array. My code was attached to hook by the same name defined in class-wc-cart.php. So of course my code then received and try to process an empty array. Not sure intent of module but I did a check and returned the empty array.

Sorry if Im misunderstanding the code. When I remove my plugin (its creating multiple packages) and I do a print_r of the $packages array in your function weight_woocommerce_checkout_update_order_review it comes up empty, even though there is product in the cart. The apply_filter located in class-wc-cart.php puts the items into the array, this does not seem to be executed from your function. My module, attached to that filter, sorts them into two different packages. It appears that the code within the class-themecomplete-extra-product-options.php creates an additional hook of the same name as the one in class-wc-cart. When I do a backtrace at my module the callbacks coming from the class-wc-cart hook has the products in the array. The callback coming from the themecomplete module has an empty array and does not show that it hooked into the class-wc-cart. So it appears you can apply a filter with the same hook name as another filter and by me adding my callback to that hook my module gets called on both occasions. But as it stands it seems your function weight_woocommerce_checkout_update_order_review will always be an empty array.

Yes, the purpose of our function is to only fetch custom packages, meaning from 3rd party plugins or custom code. It is not meant to fetch the native array WooCommerce has in its native code. That is why we only have an empty array as an argument.

If you have a custom code that utilizes the woocommerce_cart_shipping_packages filter you should make sure that there is a chance that the argument can be anything. Just as we pass an empty array someone else might put anything there. In our case though the empty array shouldn’t cause any issue because the default argument WooCommerce has is an array.

Thanks for the advice, I agree you should always expect the unexpected. It would be an interesting debate around replicating hooks. A call back is written based on a particular hook and its associated parameters that the filter may want to change. I now discovered that the hook can be replicated and used and may change what was originally expected.

I first tried to return a package if the array was empty, but in my attempt to build I got an error, it seems “line_total” was not in the cart contents and I needed that to build the package. Anyway for me since Im not really changing the items I just return an empty array. Seems to work.

This looks like a great Woo plugin – I have a question for my particular use case though if that’s ok?

I am trying to create a store where customers can order fabrics by length, either just by selecting the length of fabric, or being able to choose the batch they want their fabric to be cut from.

Each batch is a variation of a product, but what I would like to happen is WooCommerce to decide the best batch for the order (if the user does not select one) due to stock levels, or the user can select their own batch.

Ideally, it would look/work something like this – https://www.pennymorrison.com/products/african-luwa-pink

Is this possible with this plugin?

Thanks

No, you cannot use the plugin to decide the best batch for the order.

Houston we have a problem. after the last update, my cart is empty (after adding the product to the cart). The information is checked 15 times. It’s your plugin that’s causing the problem.

Thanks for reaching out! We cannot duplicate something like that on our end. 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!

Hello.

Ever since i updated to the latest version, the global form options now show below the options of the product.

I have tried changing the priority because i want the global options to show at the bottom.

I bought the plugin using my second account

Thanks for reaching out! We cannot duplicate something like that on our end. 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!

Hello, today a plugin caused my site to go down. After debugging, I found that EPO is the reason. I turned off the plugin and tried to install an update, but I received an error: 413 Request Entity Too Large. To be honest, the server is large and fast, and this error has never happened before. The website is online, but WordPress doesn’t allow turning on EPO due to a critical error and doesn’t allow installing a new EPO because of the aforementioned error.

The error you receive means that your server has a limit on the upload file size which is less than the plugin’s zip file. You should contact your hosting provider about increasing the limit.

Dear Support Team,

I am experiencing a critical compatibility issue with WPML on my WordPress website. The current version of WPML is causing conflicts and disrupting the multilingual functionality.

Please investigate this matter urgently and provide an update or patch to resolve the WPML compatibility problem. My website heavily depends on WPML, and this issue is severely impacting its functionality.

Kindly prioritize this request and let me know if you need any further information from my end. I eagerly await your response with a solution.

Thank you for your prompt attention.

Thank you for reaching out for support! We currently don’t have any compatibility issues or reports with WPML from our end. To receive the best assistance, kindly 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/.

I’m developing a product publishing system based on woocommerce and Extra Product Options plugin.

I need to get API support and documentation for Extra Product Options plugin.TKS

Please email me from my profile page.

Hi there,

I am struggling to find the api documentation. Could you point me to this please?

When you use the option id the result should be something like this: https://prnt.sc/O_7iGk8NwiBM where you would need to loop to get the value.

$options = THEMECOMPLETE_EPO_API()->get_option( $order_id ,'6346da993c8d63.39172943' );
foreach ($options as $item_id => $epos){
    foreach ($epos as $epo){
        var_dump( $epo['name'] );
        var_dump( $epo['value'] );
    }
}

ok understood. That is our current workflow so thats great. Thank you for the help

Hello, I have been using your plugin for quite some time now. We have a question. My customer wants a maximum number of products (25 pieces) to be sold in the webshop and that this is possible above that.

however, we use your plugin to create variaries that we have (we have three prizes, and 90 products) I use your plugin to create variations by category. Each products has 3 variations (3, 5 and 10 pieces) from your plugin, the category determines the price.

Now it happens, an external plugin such as Cart Limits for WooCommerce does not work. Is there a possibility in your plugin to prevent people from ordering more than 25 pieces?

The plugin doesn’t create variations. Variations are what you create in WooCommerce for a variable product. The plugin creates addons to the product that have no correlation to variations or the product quantity. Those addons cannot work with 3rd party plugins the the cart limits you mention from our end. You will need to ask their developer if they can add compatibility.

Thnx for the fast replay

what is the best compatible quick view ajax plugin and the best compatible theme?

We cannot give such recommendations. The best is determined by various factors which are not the same to everyone. You can see the compatible quick view solution on the plugin description.

but at least I have to know because there is 100 plugins out there and I can not buy and test all of them

The solution that are mentioned in the plugin description in the compatibility section are all compatible, but we cannot suggest a specific one.

Plugin not compatible with Shoptimizer Product Prices diseapear.

Please follow up on your email about this, no need to double post.

I understand. Thank you. Have you got a chance to check this issue? I havent received any reply. Basically if I set an option for a product, the pirce dissepear right away.

I did reply as soon as you send the email, I’m not sure why you haven’t gotten it. I cannot actually see your page on my end as it looks broken. This is how it looks: https://prnt.sc/uGEnsjT6qU4I

if you can receive emails then please open a support ticket at https://themecomplete.support/forums/forum/extra-product-options/

Hello the team, I added a check box in a specific product but fees are added after the total. Is there a way to show the addon fees for each product in its line with other variations so we can know each addon is selected for each product? Also is there a way for the customer to upload more than one file? many thanks for your answers

If you have set the addon to be fee the no, there isn’t, because that would create a WooCommerce fee that is attached to the order and not the product.

For multiple uploads use the multiple upload element from version 6.4.2x

hi! i tried adding qty input to checkboxes input but it appears without up and down arrows to chagne quantity, how to add arrows to add or remove quantity amount?

The plugin doesn’t add any extra up/down arrows. You should only be getting the browser up/down arrows when the input has focus, unless your theme disables them.

I dont get any arrows when setting the Qty inputs, i even switched themes to test, is there any extra code I need to add somehwere?

No, there isn’t any extra code to get the browser arrows. Can you show me the product URL and point out the qty element please?

Hi, I use PDF Invoices & Packing Slips for WooCommerce plugin to show PDF packing lists to my customers. Until the last version, the products options files were shown as full path links, now they are displayed as file name with no link. How can I change that ? Thx

This means that you are trying to login without accepting the policy. While you are on the frontpage https://themecomplete.support you should see the policy popup, accept it first and then try to login.

If you don’t see the popup then your browser is blocking js functionality.

Support expired, can’t create ticket.

Hello is it possible to remove the woocommerce variation price below the variation? Its displaying it twice

The plugin cannot remove native elements like the variation price. You will have to use custom css to hide it.

Hi,

I need to export a report of a specific product that has the extra product add ons. How can I do this? I’ve installed the Advanced Order Export For WooCommerce but not all of the product adds ons are visible to export.

Thanks

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/. Thank you for your understanding!

I have pre-order questions

In this table https://padmajatextile.com/wp-content/uploads/2024/02/Lookup-table-–-ThemeComplete-EPO.png

suppose in x axis no value is set for 50,60,70 and 80 corresponding y axis 130, 140, 150 and 160 like given table example. According to you if my input is 165 and 35 then it will show next value 302.

But when I type 165 and 55 how can I show 399?

Okay thank you for your support

Is there any rules for table like how many least rows need to complete a table which will work?

No, there are not rules as long as the table is valid.

Hi,

Is it possible to use an options template within a product, and then apply conditional logic to the options template selection?

Also, can I include the options template selection in product pricing formula?

Yes, but that doesn’t mean that the selection for the kit radio button is used in the math formula. The only problem I see with what you want to do is that you can base logic on a template, it is just not possible.

My first question from the original comment asked if it is possible to apply conditional logic to the options template selection?

Can you clarify please. Your first reply seems to agree that yes you can. Yet your last comment seems to say no it is not possible.

My first reply mean that you can apply logic to the template section itself meaning that you can show/hide the template element with conditional logic. However, you cannot base other element’s logic on a template element. I hope this is clear now.

First post. Awesome plugin. Just bought it and testing it as we speak. So far so good. I just came across an issue. Let me try to explain it clearly.

I have original stripe payment gateway free plugin installed. I like how stripe shows buy now button while still in product page if using mobile phone and don’t have to click add to cart and follow the normal checkout process.

I did set up few product options with some conditional logic options.

What I have noticed is this, in the product page after selection the desired product options. I clicked the stripe Apple Pay button (without clicking add to cart) but only the original price of the product is showing on the Apple Pay authorize popup not the total price with the added options.

I tried for the second time but this time instead of clicking the strip Apple Pay button, I clicked add to cart and then I went to the cart page and I clicked the stripe Apple Pay button and the total got added fine to the Apple Pay popup.

I like how stripe shows the pay now Apple Pay button for express payment option instead of going through the normal checkout process but seems like the total price doesn’t get locked in when I click the buy now stripe Apple Pay button is I am in the product page (without clicking add to cart)

How to fix this. Thank you in advance.

I’m sorry but we are not able to make such solutions compatible from our end because they use their own system for adding the product to the cart bypassing 3rd party plugins. Compatibility in those cases will have to be from the payment gateway.

thank for the clarifications, i just wanted to say that in stripe setting in woocommerce i can turn off the button in the product page and keep it for the cart and the checkout pages. now it works as it suppose to. amazing plugin btw

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