Skip Navigation

[Resolved] one to many relationship question

This support ticket is created 2 years, 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by bryonB 2 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#2431503

Tell us what you are trying to do?

I have a one (food cart pod) to many (food carts) relationship. When users complete the new cart form they need to enter the pod that the cart belongs to. I currently only want a cart to belong to one pod. I only present the new cart button from the current pod template. Is there a way to assign current pod to the cart I make and remove an entry step for my user?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

cartpodfinder.com

#2431683

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL exactly on what post/page you want to display what with exact step by step workflow? Where you want to assign current pod to the cart?

If it requires login details, please share it, I'm setting the next reply as private.

#2432119

Hi Minesh!

This is the url for making a cart (I hope)

hidden link

Workflow:

User lands on pod map homepage.
User clicks a pin on map. which hovers pod name with link, user clicks link
Pod is displayed with carts along with Add Cart button.
Add Cart Button loads add cart form.
A one (Pod) to many (Cart) relation drop down menu has selections for pods.

I am very much in developing mode, every thing is test data

You do need a login

I hope to remove the dropdown from the form as I know I want to assign the cart to the current pod.

Thanks!
Bryon

#2433495

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Unfortunately, the access details you shared with previous reply is not working.

Can you please send me working admin as well as frontend user access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2434295

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Admin access details is working now.

I checked the following page and I do not see any link to click on it, I see a form to "make a new cart":
=> hidden link

Can you please guide me with correct flow?

#2434685

The cart pod template produces an Add new cart for each pod, like this one: hidden link
My issue appears to be with the choose image block in the make cart form. If I remove this block everything works fine.

#2434723

I rebuilt the pod template. I suspect I was pointing at an invalid id. Thanks!! 🙂