Product detail in Menu not selectable

Phoca Cart - complex e-commerce extension
oesch.web@gmail.com
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Jan 2020, 11:35

Product detail in Menu not selectable

Post by oesch.web@gmail.com » 07 Jan 2020, 23:24

Hi
I want to show a Product detail view in Phoca Cart.
But the Field 'Select Product' is not stored, so whe i want to open the menu again, following message appeares:
Class 'PhocacartText' not found.

Thanks for Help

Tags:

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product detail in Menu not selectable

Post by Jan » 09 Jan 2020, 20:42

Hi, which version of Phoca Cart do you use?

Jan
If you find Phoca extensions useful, please support the project

oesch.web@gmail.com
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Jan 2020, 11:35

Re: Product detail in Menu not selectable

Post by oesch.web@gmail.com » 10 Jan 2020, 13:47

I use Phoca Card V 3.4.0.

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product detail in Menu not selectable

Post by Jan » 10 Jan 2020, 22:39

Hi, thank you for the info, confirmed, I will take a look at it for the next version.

For now, you can do a quick fix, just paste this code:

Code: Select all

if (! class_exists('PhocacartText')) {
    require_once( JPATH_ADMINISTRATOR.'/components/com_phocacart/libraries/phocacart/text/text.php');
}
to file: administrator\components\com_phocacart\models\fields\phocaselectitem.php

on lince cca 19

Thank you, Jan
If you find Phoca extensions useful, please support the project

oesch.web@gmail.com
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Jan 2020, 11:35

Re: Product detail in Menu not selectable

Post by oesch.web@gmail.com » 11 Jan 2020, 14:43

Thank you for the patch, is ok now, great support!
Walter

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product detail in Menu not selectable

Post by Jan » 14 Jan 2020, 18:58

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project

Post Reply