Customize front-end product form.
Hello community and administrators, I want to ask you a general question regarding the front-end form to add products to the store.
I was looking at the functionalities of the form and following the documentation and looking at the forum to know how to add a final product to the store and I saw that some features that I would need to implement are not visible, so I am going to list:
1- at the beginning of the session there is no captcha or recaptcha in the form either for invited or registered users, it is evident that it is necessary for security reasons if it is a site that processes payments, search and add the password and check the payment options. I pay as a guest but the form is not visible either before logging in or before making the payment.
viewtopic.php?t=65095
2-The features that can be added to the form and following the documentation do not merit the Phoca Cart plugin, try adding custom fields so that company data could be entered, such as address, map, phone, WhatsApp, and a photo gallery or photo of the cover, all that information linked to the seller's profile -> create a user -> create custom fields using custom field but I can't make it appear in the view of the product creation form so that they are shown in the tabs in view of buyers.
I also created parameters because I need to geolocate the products by area, but I can't identify how to add them to the product editing form or have them appear in the category tree for buyers. Any suggestions?
https://www.phoca.cz/documentation/115- ... phoca-cart
3-When I add the product information with the required fields, it creates a 500 error on the page and it does not add the product, I changed permissions in the server folders and it did not work, I have the helix ultimate front edition template enabled on the site -end , the user created to upload the product has Guest Manager Registere Author Editor Publisher permissions.
I didn't find anything on the forum
What I want to achieve with this is that if I work with 20 or 100 sellers they can upload the products without passing the work to the site administrator and that they have everything they need in the front end view of the site.
The other thing I'm looking for is for a buyer to have the ease of purchasing a product by logging in as a guest user so that sales don't fall.
Thank you
Customize front-end product form.
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customize front-end product form.
Hi,
1) Captcha - if you mean some captcha for login, try to see some Joomla extension, as the login or registering is fully managed by Joomla, not by Phoca Cart. In Phoca Cart there is captcha for making final order or for submit an item in frontend. BTW not sure what do you expect from Captcha, but the current situation is, that captcha can be solved better by robots or human spammers than by normal users, so not sure if Captcha is the right method when we are speaking about security.
2) When you create e.g. parameter group and parameter value, then such is displayed automatically in administration - in product edit, where you can select the parameter value for each parameter group:
3) 500 mostly means a PHP error, see: https://www.phoca.cz/documentation/86-j ... rs-on-site
Jan
1) Captcha - if you mean some captcha for login, try to see some Joomla extension, as the login or registering is fully managed by Joomla, not by Phoca Cart. In Phoca Cart there is captcha for making final order or for submit an item in frontend. BTW not sure what do you expect from Captcha, but the current situation is, that captcha can be solved better by robots or human spammers than by normal users, so not sure if Captcha is the right method when we are speaking about security.
2) When you create e.g. parameter group and parameter value, then such is displayed automatically in administration - in product edit, where you can select the parameter value for each parameter group:
3) 500 mostly means a PHP error, see: https://www.phoca.cz/documentation/86-j ... rs-on-site
But maybe there is some misunderstanding, there is no Multivendor feature in Phoca Cart. The submit function in frontend is there mostly for end users when they upload their items to e.g. catalog. For example, let say, there is catalog like template catalog: https://www.phoca.cz/jtd/ and each template developer can submit its template. Then the administrator checks the submitted item and transform it to product. This is maybe a little different function to Multivendor feature.What I want to achieve with this is that if I work with 20 or 100 sellers they can upload the products without passing the work to the site administrator and that they have everything they need in the front end view of the site.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 19 Nov 2023, 16:44
Re: Customize front-end product form.
Hello j,
1-The captcha was activated before sending the product in the front end edition, impeccable.
2-I was testing the page to send articles or products from Phoca Cart and I activated the errors with htaccess and in global configuration, it redirected me to a Google Font error page, I decided to disable it completely by deleting the Google API and the helix template, the 500 server error was disabled, I also disabled tiger protect in cpanel and mod security and google speed services completely.
Assign the name of the seller in the phoca cart area in the back end just in case, look to see if products have been added, I don't see them published or deactivated, I search Joomla to see if there was a pending message for the products I sent, I didn't see anything, something What caught my attention is that my Joomla site is registered in my email and I received the notifications Name Email Title Date Subject
but the product information (your name, the photo, the category, etc.) I didn't see anything like that, the email went from the front-end page to send products, but the product nothing; I don't know what else to do, can you think of something???
3-The parameter configuration for selecting zones or neighborhoods works flawlessly.
4-Can custom and parameter fields be added to the article submission front-end form without making code modifications?
1-The captcha was activated before sending the product in the front end edition, impeccable.
2-I was testing the page to send articles or products from Phoca Cart and I activated the errors with htaccess and in global configuration, it redirected me to a Google Font error page, I decided to disable it completely by deleting the Google API and the helix template, the 500 server error was disabled, I also disabled tiger protect in cpanel and mod security and google speed services completely.
Assign the name of the seller in the phoca cart area in the back end just in case, look to see if products have been added, I don't see them published or deactivated, I search Joomla to see if there was a pending message for the products I sent, I didn't see anything, something What caught my attention is that my Joomla site is registered in my email and I received the notifications Name Email Title Date Subject
but the product information (your name, the photo, the category, etc.) I didn't see anything like that, the email went from the front-end page to send products, but the product nothing; I don't know what else to do, can you think of something???
3-The parameter configuration for selecting zones or neighborhoods works flawlessly.
4-Can custom and parameter fields be added to the article submission front-end form without making code modifications?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customize front-end product form.
Hi,
4) unfortunetely, there is no option to add parameters in frontend for now, so this needs to be customized directly in the code
2) I don't understand what do you exactly mean?
Jan
4) unfortunetely, there is no option to add parameters in frontend for now, so this needs to be customized directly in the code
2) I don't understand what do you exactly mean?
Jan
If you find Phoca extensions useful, please support the project