Skip Navigation

[Resuelto] creating group gifts

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
The client wanted to know how much support Toolset Forms plugin will provide while editing WooCommerce products from the front-end

Solution:
Guided that by default, Toolset forms will allow adding/editing common product fields ( screenshot: https://nimb.ws/9ThOg2 ) and custom fields added by Toolset Types.

For more complex fields or native WooCommerce functionalities, generic fields can be used to process data through "Forms API Hooks" hooks.

Relevant Documentation:
https://toolset.com/documentation/programmer-reference/cred-api/

This support ticket is created hace 5 años, 10 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por Ido Angel hace 5 años, 10 meses.

Asistido por: Waqar.

Autor
Mensajes
#1191891

Hey,

I have a request from a client to create group gifts.
Basically, the user would be able to create a "party", decide on some custom fields (boy or girl, amount needed to participate, name of birthday-boy/girl, email, etc), then share the party and other friends would be able to purchase "participation gifts", which would be essentially gift cards with which the birthday-boy/girl would be able to use for purchasing products in the site's shop.
Naturally, each participant would be able to send a birthday message upon participation to the birthday-boy/girl, and would be included in the "party" page after his present's purchase was completed.
Is there any way to enable this with cred-commerce?
I know there are gift cards/vouchers plugins for woocommerce - do you have any idea about whether this can be used?

I've sees a wordpress site which does this:

enlace oculto

not sure how, but if you scan the site on enlace oculto you see they are using "types", gravity forms and "woocommerce smart coupons".

Thanks!
Ido

#1192085

Hi Ido,

Thanks for asking and I'd be happy to assist.

The Toolset plugins, don't include built-in functionality for grouped products or for a messaging system for users, but you can make them work with some workarounds.

For example, you can register custom post type party, which will hold each party's information. The user who is starting a party can link specific products to each party, through either post reference field or through post relationships.

You'll also need to link one special product with each party, which will be used as a purchasing product, in order to join that party.

For an internal messaging feature, you can check out the guide at:
https://toolset.com/learn/how-to-create-a-messaging-system-with-toolset/

Once you've linked a product that needs to be purchased in order to join a party, you can use any third-party gift cards/vouchers plugin that works with WooCommerce products.

I hope these points will help.

regards,
Waqar

#1192114

Thx Waqar!

I think the master-user who created a party is actually creating the giftcard, no? I mean - we'll just rename the giftcard to "party", and once it's created, other users (party goers) can add money to this party/giftcard. And I can add whatever custom fields I want for the product - like gender of the birthday person etc.
Useful plugin can be this one: https://docs.woocommerce.com/document/smart-coupons/#section-15
Sounds right?
I also think the message system will just be the giftcard msging system.
The only question is how detailed can I go with creating products in frontend submission forms? Can I decide about variable products? Can I use any custom field the product has to offer in my cred form? Somehow I remember that I can't have full control here. Am I right?

Thanks!

Ido

#1192347

Hi Ido,

Thanks for writing back.

By default, a CRED form will allow you to add/edit most common product fields ( screenshot: enlace oculto ) and custom fields added by Toolset Types.

For more complex fields or native WooCommerce functionalities, you can always use generic fields and then process those values through "Forms API Hooks" hooks, attached to CRED form submissions:
https://toolset.com/documentation/programmer-reference/cred-api/

regards,
Waqar

#1192360

Gotcha. Thanks Waqar!