Jump to content

Trawis

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Trawis

  1. When I want to create new or edit existing package option I get error message: "Option values must be unique."

    But for quantity value field has been disabled/hidden so I can't enter it.

    ...admin/package_options/add

    ...admin/package_options/edit/{id}

    Workaround: edit package_options.php (line 1761) located in app\models like this:

    'rule' => function($values) use ($type) {
    	if ($type === 'quantity') {
    		return true;
        }
        return $this->validateUniqueValues($values);
    },

    Blesta v4.7.0

    confOptionsAdd_Edit-BUG.PNG

×
×
  • Create New...