UserSettings
class UserSettings implements PrimaryKeyInterface
Class UserSettings
Properties
| protected int | $id | ||
| protected bool | $anonymousAllowed | Is anonymous(not logged) users allowed to complete order | |
| protected bool | $requireERPCode | Indicates whether to show erp code field on registration or not | |
| protected bool | $requireMailConfirmation | Indicates if registration should be confirmed via mail | |
| protected bool | $showPriceIfUserNotLogged | Indicates if anonymous users can see price | |
| protected bool | $allowCouponIfUserNotLogged | Indicates if anonymous users can use coupons | |
| protected bool | $showImageOnRegistration | Indicates whether to show dropzone field on registration or not | |
| protected bool | $isB2BRegistration | Indicates if it is b2b registration | |
| protected bool | $confirmOrderByMail | Indicates if order should be confirmed via mail before completing it | |
| protected bool | $requireCaptchaConfirmation | Indicates if captcha should be populate on registration | |
| protected string | $captchaSiteKey | reCAPTCHA site key | |
| protected string | $captchaSecretKey | reCAPTCHA secret key | |
| protected bool | $userActivatedByDefault | Indicates if user is activated after the registration | |
| protected bool | $cascadeDiscounts | Defines the way discounts are calculated, eg. 10% and 5% can be 15% but using cascade are 14.5% | |
| protected string | $orderMergeType | Order merge type after user login. Can be one of predefined(user_last_order_as_anonymous,user_last_order_as_logged, clear_order or merge_orders) | |
| protected string | $pricelistType | Indicates from where product prices will be loaded. Can be one of predefined(shop_pricelist_key or erp_pricelist_key) | |
| protected bool | $requireDefaultShippingSelect | Show or hide default shipping provider on registration page | |
| protected bool | $requireDefaultPaymentSelect | Show or hide default payment type on registration page | |
| protected bool | $addAvailableQuantityByDefault | If requested quantity is not available, add available and inform user about that | |
| protected bool | $ignoreQuantityOnAddToCart | Allow any quantity to be added regardless of number in stock | |
| protected string | $thousandsSeparator | Default thousands separator for showing price | |
| protected string | $decimalSeparator | Default decimal separator for showing price | |
| protected int | $decimalPlaces | Default decimal places for showing price | |
| protected int | $reservationWarranty | Warranty for reservations, expressed in months | |
| protected int | $maxQuantityPerOrderItem | Max product quantity per order in reservation | |
| protected int | $maxNumberOfItemsPerOrder | Max number of items per order in reservation |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 321
integer
getId()
at line 331
UserSettings
setId(int $id)
at line 341
bool
getAnonymousAllowed()
at line 351
UserSettings
setAnonymousAllowed(bool $anonymousAllowed)
at line 361
bool
getRequireMailConfirmation()
at line 371
UserSettings
setRequireMailConfirmation(bool $requireMailConfirmation)
at line 381
bool
getRequireERPCode()
at line 391
UserSettings
setRequireERPCode(bool $requireERPCode)
at line 403
bool
getShowPriceIfUserNotLogged()
deprecated
deprecated
at line 415
$this
setShowPriceIfUserNotLogged(boolean $showPriceIfUserNotLogged)
deprecated
deprecated