Problems with form in product description

  • Posts: 278
  • Thank you received: 14
  • Hikashop Business
3 years 5 months ago #325097

-- HikaShop version -- : 4.3.0

I need to include form (acymailing module) in product description. But there is a problem that product description is part of form, so form in form is not working (nested form).
I cant assign module to product page, as there is no menu item for product.
Any other idea how to include form in product description?

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
3 years 5 months ago #325107

Hi,

Several solutions:
- edit the files show.php and show_default.php of the view "product" via the menu Display>Views to move the description outside of the product page form. If you know PHP/HTML it shouldn't be a problem.
- install advanced modules manager pro on your website. It will add extra options to your modules, including options to display the module only for the product page, and / or only for some products so you'll be able to use a standard position of your template.
- install the extension modules anywhere and edit the file show.php to add the tag for that module outside of the form of the product page.

Please Log in or Create an account to join the conversation.

  • Posts: 278
  • Thank you received: 14
  • Hikashop Business
3 years 5 months ago #325127

I will use first solution. Is there any other problems that may expect by move description outside form? Insert add to cart link, microdata,.. etc?
As I see, I must move description part to show.php?

Last edit: 3 years 5 months ago by mojweb.

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
3 years 5 months ago #325138

Yes, you need to move the description part from show_default.php to show.php
If you do the change properly, it shouldn't impact microdata or anything else.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum