Joomla 6.1: Product edit form breaks after adding attributes

Phoca Cart - complex e-commerce extension
vlood
Phoca Member
Phoca Member
Posts: 42
Joined: 28 Aug 2011, 09:59

Joomla 6.1: Product edit form breaks after adding attributes

Post by vlood »

Hello,

after upgrading to Joomla 6.1, the Phoca Cart product edit form breaks only when product attributes are used.

A product without attributes works correctly. But after adding any attribute with an option, saving the product and reopening it, the backend edit form layout is broken.

Console error:
Uncaught Error: The row template is required for the subform element to work
at joomla-field-subform.min.js

Browser console check shows that these subforms have no row template:
- jform[attributes]
- jform[attributes][attributes0][options]

Both return hasTemplate: false.

Environment:
- Joomla 6.1
- Phoca Cart 6.x latest
- Atum administrator template
- Tested in Chrome and Firefox
- Cache cleared
- Tested also with Phoca Cart 5.2.3, issue remains

It seems related to the Product Attributes / Attribute Options nested subform in Joomla 6.

Is this a known issue? Is there any patch or workaround?

Thank you.

Tags:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10182
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Joomla 6.1: Product edit form breaks after adding attributes

Post by Benno »

Hi,
yes, it's a known J6.1 bug.
See: viewtopic.php?p=187168#p187168

Kind regards,
Benno
vlood
Phoca Member
Phoca Member
Posts: 42
Joined: 28 Aug 2011, 09:59

Re: Joomla 6.1: Product edit form breaks after adding attributes

Post by vlood »

Thank you, it works.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10182
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Joomla 6.1: Product edit form breaks after adding attributes

Post by Benno »

You're welcome!

Kind regards,
Benno
Post Reply