Required filed missing Select

Phoca Cart - complex e-commerce extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Required filed missing Select

Post by Jan »

Hi, if you uncomment the condition, then the "select" needs to be displayed for all select boxes:

Image

:idea:
Jan
If you find Phoca extensions useful, please support the project
mjmartino
Phoca Enthusiast
Phoca Enthusiast
Posts: 65
Joined: 10 Jun 2019, 15:53

Re: Required filed missing Select

Post by mjmartino »

if box is required still not show "select".
The rest normal box shows ok.
I find where is the problem.

Missing is

Code: Select all

$attr[]				= 'id="phItemAttribute'.$attributeIdName.'"';// Missing this line code.
After adding show "select" for normal and required fields.
Plus i comments whole if ($d['required'] ...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Required filed missing Select

Post by Jan »

Hi, yes, this line is a part for the selectbox:

Image

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