PhocCart products view in the backend

Phoca Cart - complex e-commerce extension
uwes2025
Phoca Member
Phoca Member
Posts: 14
Joined: 10 Apr 2025, 12:05

PhocCart products view in the backend

Post by uwes2025 »

Hi, I'm not sure if this problem exists since I've updated Joomla from 6.0.4 to 6.1.0, but in backend I have now an unfamiliar look of the product detail view in the backend. Only 3 tabs (options, image options, attributes) are visible, the content of the missing tabs is visible as list at the end of the tab "options"
Image

Whe I want to create a new product all tabs are visible.

Image
Is this because of Joomla 6.1.0?

Best regards Uwe
User avatar
Nidzo
Phoca Expert
Phoca Expert
Posts: 501
Joined: 07 Nov 2018, 14:55

Re: PhocCart products view in the backend

Post by Nidzo »

I can confirm this behaviour.
Joomla 6.1.0
Phoca Cart 6.1.0 Beta10
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49365
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocCart products view in the backend

Post by Jan »

Hi, I am testing it now but don't get any such behaviour (maybe I have different settings for subforms that you have)

As Benno suggested me, this can be related to this problem:
https://github.com/joomla/joomla-cms/pull/47617

As suggested there, try to change this file:
layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php

https://github.com/joomla/joomla-cms/pull/47617/files

and let me know if this helps.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49365
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocCart products view in the backend

Post by Jan »

CONFIRMED - it is caused by this Joomla bug:
https://github.com/joomla/joomla-cms/pull/47617/files

So, just open the file:
layouts/joomla/form/field/subform/repeatable/section-byfieldsets.php

and change (line cca 48)


FROM:

Code: Select all

<fieldset class="<?php echo !empty($fieldset->class) ? $this->escape($fieldset->class) : ''; ?>"
            <?php if (!empty($fieldset->label)) : ?>
                <legend><?php echo Text::_($fieldset->label); ?></legend>
            <?php endif; ?>
            <?php foreach ($form->getFieldset($fieldset->name) as $field) : ?>
                <?php echo $field->renderField(); ?>
            <?php endforeach; ?>
        </fieldset>
TO:

Code: Select all

<?php $class = !empty($fieldset->class) ? ' class="' . $this->escape($fieldset->class) . '"' : ''; ?>
            <fieldset<?php echo $class; ?>>
                <?php if (!empty($fieldset->label)) : ?>
                    <legend><?php echo Text::_($fieldset->label); ?></legend>
                <?php endif; ?>
                <?php foreach ($form->getFieldset($fieldset->name) as $field) : ?>
                    <?php echo $field->renderField(); ?>
                <?php endforeach; ?>
            </fieldset>
This will solve the problem with tabs.
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Expert
Phoca Expert
Posts: 501
Joined: 07 Nov 2018, 14:55

Re: PhocCart products view in the backend

Post by Nidzo »

Thanks Jan!
Post Reply