external comment system under description section

  • Posts: 43
  • Thank you received: 3
9 months 2 weeks ago #359573

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.0.3
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox

Hi,
Hope you do great!
Is it possible to show the external comment system under the "description" section? At the moment it showing under all sections in the product page.
comment systems are all located in the show.php file, I need them in the show_default.php file to arrange them as I mention.
Thanks in advance

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
9 months 2 weeks ago #359575

Hi,

If you know PHP and HTML you should be able to move the code from one view file to the other.
Beware though that the comment area usually has its own HTML form and the whole show_default view is inside the product page HTML form element. And you can't have a form inside another form in HTML. That's not valid.
So that means you'll also have to move the HTML form tags and hidden input fields from the show view to the show_default view so that you can keep the comment area outside of the HTML form of the product page.
So it's not a simple copy / paste.

The following user(s) said Thank You: diacotm

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

Time to create page: 0.052 seconds
Powered by Kunena Forum