Hi there,
I was told to open a new ticket with the "part 2" of my problem.
I want the host of my camps to be able to edit their camps in front end. At no point they can access the backend. The problem is that we have 1 WooCommerce product linked to every camp as it has to be possible to buy a ticket for the camp online. So right now you can only edit the camp info and not the product info, since it is not possible to edit more than 1 form.
I had help from Jamal who wrote this:
_______
From what I gathered so far, Products are linked to Camps in a One-to-many relationship. Please correct me if I am wrong, you want to allow the camp authors to create the linked products or edit them from the frontend, right?
Currently, a Toolset Form can only create or edit ONE post. So, you won't be able to update the linked products' information from the same Camp form. You will need to create separate forms and put them in separate content templates. For example, after editing a camp redirect the user to the camp single page, and conditionally display the form(s) to edit the linked products using a view and a form inside of it.
Regarding the sidebar, it seems that the "The7" theme allows you to enable/disable the sidebar only for Pages and Posts, from the configuration page (Theme Options->Sidebar). I'll suggest contacting the theme's support and asking how can we disable the sidebar for a custom post type(Camps).
However, for support rules, we are able to handle only one issue at a time. This helps us to bring you a better service and also helps other users to find all the information here exposed. For that reason, I have to kindly ask you to open a new thread if you need further assistance with creating/editing products that are linked to a camp. In the meantime, check the following articles on how to create a product from the frontend, and how to create a child product from the parent product page.
So that i'm up to speed on this, you are currently displaying your products on the camp page correct?
It is true that you won't be able to edit the Products on the camp edit form, however you can add a link to edit each individual camp and when clicked it will take you to the individual form responsible for editing the camp.
If you'll like to implement this please let me know and we can go from there.
Thanks,
Shane
The topic ‘[Closed] Edit product info on camp template’ is closed to new replies.