Manufacturer page

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 268
Joined: 07 Nov 2018, 14:55

Manufacturer page

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manufacturer page

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 268
Joined: 07 Nov 2018, 14:55

Re: Manufacturer page

Post 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 👍🏼
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manufacturer page

Post by Jan »

Which link do you exaclty mean? You can display manufacturer in category/items view or in item (detail) view.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 268
Joined: 07 Nov 2018, 14:55

Re: Manufacturer page

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Manufacturer page

Post 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
If you find Phoca extensions useful, please support the project
Post Reply