Page 1 of 1

Product detail in Menu not selectable

Posted: 07 Jan 2020, 23:24
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

Re: Product detail in Menu not selectable

Posted: 09 Jan 2020, 20:42
by Jan
Hi, which version of Phoca Cart do you use?

Jan

Re: Product detail in Menu not selectable

Posted: 10 Jan 2020, 13:47
by oesch.web@gmail.com
I use Phoca Card V 3.4.0.

Re: Product detail in Menu not selectable

Posted: 10 Jan 2020, 22:39
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

Re: Product detail in Menu not selectable

Posted: 11 Jan 2020, 14:43
by oesch.web@gmail.com
Thank you for the patch, is ok now, great support!
Walter

Re: Product detail in Menu not selectable

Posted: 14 Jan 2020, 18:58
by Jan
Ok, great to hear it.

Jan