Page 2 of 2
Re: default.php
Posted: 23 Jul 2025, 12:17
by Madelman
I have first the name of first word in menu then extended title
Re: default.php
Posted: 23 Jul 2025, 12:33
by Benno
Hi,
sorry, to me it looks like:
M.A.20 - extended title is here
is your extended title of this product...:
BTW, how did you insert:
Aqui1?
Aqui2?
Aqui3?
into:
Code: Select all
<div class="ph-item-price-panel phItemPricePanel">
That's not standard?!
Try to remove this and check again.
Kind regards,
Benno
Re: default.php
Posted: 23 Jul 2025, 17:13
by Madelman
Ok
I've removed that code that place in default.php to see where were the fields positions
i've named title =this is the title and extended title = this is the extended title
Now i have title in joomla`s breadcups position and menu first option + extended title as name for the product, its crazy why variable title takes a menu name
i want to have title - extended title = Big Jack - Special edition 25th anniversary
Re: default.php
Posted: 23 Jul 2025, 19:52
by Benno
Hi,
I've removed that code that place in default.php
Yes, if I were you I would also rename or delete the /com_phocacart/item/default.php template override. As I showed you in my first screenshot, the extended title is displayed by default in Phoca Cart. If this is now mixed with the breadcrumbs or some menu title, something has gone wrong there.
The same applies if you have made the changes directly in default.php (without template override). The original default.php should be restored to avoid these errors.
But these are only guesses, as I don't know what you have changed where.
Kind regards,
Benno
Re: default.php
Posted: 24 Jul 2025, 12:58
by Nidzo
Try this. Find === PRICE PANEL part of item/default.php and replace part of code until // :L: PRICE
Code: Select all
// === PRICE PANEL
echo '<div class="'.$this->s['c']['col.xs12.sm7.md7'].' ph-item-view-data-box">';
echo '<div class="ph-item-price-panel phItemPricePanel">';
$title_parts = [];
if (!empty($this->item[0]->title)) {
$title_parts[] = $this->item[0]->title;
}
if (!empty($this->item[0]->title_long)) {
$title_parts[] = $this->item[0]->title_long;
}
$title = implode(' - ', $title_parts);
echo PhocacartRenderFront::renderHeader(array($title));

Re: default.php
Posted: 25 Jul 2025, 08:41
by Madelman
ive insert this before // :L: PRICE and it works
// TITULO - TITULO EXTENDIDO
echo ($this->item[0]->title);
echo ' - ';
echo ($this->item[0]->title_long);
Re: default.php
Posted: 25 Jul 2025, 11:13
by Nidzo
Problem solved
