[Resuelto] WC variable product : Display a price table after choice of variations
This support ticket is created hace 6 años, 9 meses. 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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I have variable product with lots of attributes / variations. I want to manage these variations in a different way depending ofthe attribute.
1. First is the normal WC way : display a select box to chose a value for the selected attribute
2. For specific attributes, after having chosen the standard attributes, display a table of the specific attribute prices + add to cart button.
Example :
Standard variations :
paper size (A4, A5, A6)
paper width (80gr, 135gr, 270gr)
So, now, when a client arrives in the product page, he can chose for example paper A4 80gr and then, instead of having the variation price which is displayed dynamically, I want to display this table :
and so on ...
The price shown in the table is a link that place the desired variation into the cart.
All prices are defined thanks to the standard WC vproduct variation process.
Is there a way to manage this inside Toolset?
Regards
Pat
That's not something Toolset can help very much with, I'm afraid.
The WooCommerce integration allows you to create custom templates for single products and the product archive, and provides shortcodes which build on standard WC functions to recreate the WC UI but allowing you to treat it as something of a puzzle where you can move the parts around.
It doesn't help you create new puzzle parts, though, you are limited to the existing UI pieces and the customisation offered is changing where you display them.
If it is not part of the UI created by WC you will need to create it yourself (or get someone to create it for you).
Thanks for your answer. That's was pretty much what I was thinking for but I just wanted to check if you can have a better idea than me for this functionality !!!