Page 1 of 1

Manufacturer page

Posted: 17 Nov 2021, 16:42
by Nidzo
I work on project of presenting books with possibility to buy them. I want to represent authors too so I thought to use Manufacturer option in Phoca Cart. I see there is image, link and description fields but can't get it to view it on frontend. There is Brand module but it just shows image with link to all manufacturer items. No desription (I would like to use this field as short biography).
There is no option to create menu item that will lead to all manufaturers/brands.
How could I do this? :)
Thanks

Re: Manufacturer page

Posted: 18 Nov 2021, 22:15
by Jan
Hi, there is no such option (link to manufacturer), So for now:

- it needs to be done per standard articles
- or the brand module should be improved e.g. to display all the needed information. Even modules can be set in articles (per load module position)

Jan

Re: Manufacturer page

Posted: 19 Nov 2021, 01:20
by Nidzo
Thanks Jan!
I started experimenting with Alexandria Book Library and Phoca Cart. I will check your suggestion too. Might be easier :)

EDIT: Please can you point me to file in which is link target for manufacturer set I want to open link in parent window. Currently is set _blank.
Thanks 👍🏼

Re: Manufacturer page

Posted: 19 Nov 2021, 20:14
by Jan
Which link do you exaclty mean? You can display manufacturer in category/items view or in item (detail) view.

Jan

Re: Manufacturer page

Posted: 19 Nov 2021, 22:56
by Nidzo
In item (detail) view. I want link to be opened in same window. Currently it is set to be open in new window.

Re: Manufacturer page

Posted: 28 Nov 2021, 14:13
by Jan
Hi,

in:
components/com_phocacart/views/item/tmpl/default.php

change FROM:

Code: Select all

echo PhocacartRenderFront::displayLink($x->manufacturertitle, $x->manufacturerlink);
TO:

Code: Select all

echo PhocacartRenderFront::displayLink($x->manufacturertitle, $x->manufacturerlink, '_self');
Jan