Skip Navigation

[Resolved] List of products of a logical calculation, with prices, selectables to calculate

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1224443

Hello, excuse me if this is not the zone to ask you about this...
Apologize for the inconvenience

Tell us what you are trying to do?
I Need to do several groups with a desplegable list or popup for each group in a page where select a component or piece to create custom product like a PC.
Those groups need to be excluders using previos selections (for example if I select AMD, i need in the next list, only motherboards AMD Compatible), etc.

Is there any documentation that you are following?
REally not. I saw a question in this site where somebody asks about calculation... but not's that (i think)

Is there a similar example that we can see?
Yes, sure! 🙂 : hidden link
In fact, all PC vendors 😀

What is the link to your site?
For the moment, i'm in the development... I need help to understand if i can do, (easily) and as i need with toolset components.

Maybe i finally decide to don't insert this selector and operative

I was taking a look to the examples, that you have in your site, to we can learn and try...
but i don't understand if i can apply to this project or not... in part because i think i need a logical calculation, not at the moment of the page load... i need a calculation based in conditions i will put in page while i'm taking decisions to configure.

If you have an example on how to understand i can do it or something to take in consideration to serve an example, please, let me know.

Oh (sorry, I had forgotten to say) and let one option of each group preselected 😀 if it's possible.

Thanks a lot for your time

Best regards!!
And sincerely thanks

#1224682

Hi, in Toolset there are two ways to add user input on the front-end:
1. A custom search View that searches for posts of some kind
2. A Form that creates or edits a post of some kind, or a User

Option 1 might work when each possible combination of features is represented by an individual post. That means each combination of chipset, memory, graphics card, and so on would have to be created as a separate post. The individual features would exist as custom fields, and Users could search based on those custom field options. Obviously this gets out of control quickly when you have more than a few possible options and combinations.

Option 2 might work without requiring individual posts for each combination of features. However, this approach requires a significant amount of custom code to calculate the prices and conditional display of options is much more complicated. The only available APIs for calculation are backend APIs, meaning that front-end calculations before the form is submitted are not supported here in the forums. Depending on how you want to handle the order criteria on the admin side, it could also require a significant amount of maintenance to keep all the custom field criteria in sync.

I don't think you'll be able to accomplish this type of configuration tool easily in Toolset without a significant amount of custom code, including PHP, CSS, and JavaScript. If those aren't part of your skill set, a 3rd-party configuration editor, perhaps Composite Products for WooCommerce, will be more practical and cost-effective.

I hope this helps you make the right decision for your project.

#1224694

Hi Christian, Thanks a lot for your time.
I figured something like this, but i've preferred to ask to the toolset team about it before to begin the project.., and you confirmed my thoughts...

I'll try your recomendations about composite products...

thank you 🙂
Have a nice day!