Product detail in Menu not selectable

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

Product detail in Menu not selectable

Post by oesch.web@gmail.com »

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: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product detail in Menu not selectable

Post by Jan »

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 Member
Phoca Member
Posts: 28
Joined: 06 Jan 2020, 11:35

Re: Product detail in Menu not selectable

Post by oesch.web@gmail.com »

I use Phoca Card V 3.4.0.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product detail in Menu not selectable

Post by Jan »

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 Member
Phoca Member
Posts: 28
Joined: 06 Jan 2020, 11:35

Re: Product detail in Menu not selectable

Post by oesch.web@gmail.com »

Thank you for the patch, is ok now, great support!
Walter
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Product detail in Menu not selectable

Post by Jan »

Ok, great to hear it.

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