| @@ -59,9 +59,9 @@ | ||
| 59 | 59 | 'default' => '', |
| 60 | 60 | ], |
| 61 | 61 | // divider related attributes |
| 62 | 62 | 'placeDivider' => [ |
| 63 | - 'type' => 'string', | |
| 63 | + 'type' => [ 'string', 'object' ], | |
| 64 | 64 | 'default' => 'near title', |
| 65 | 65 | ], |
| 66 | 66 | 'dividerPatternUrl' => [ |
| 67 | 67 | 'type' => 'string', |
| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | 'selector' => '.ablocks-price-menu-item-price', |
| 82 | 82 | 'default' => '$15.00', |
| 83 | 83 | ], |
| 84 | 84 | 'placePrice' => [ |
| 85 | - 'type' => 'string', | |
| 85 | + 'type' => [ 'string', 'object' ], | |
| 86 | 86 | 'default' => 'right', |
| 87 | 87 | ], |
| 88 | 88 | 'priceTag' => [ |
| 89 | 89 | 'type' => 'string', |
| @@ -92,8 +92,12 @@ | ||
| 92 | 92 | 'priceColor' => [ |
| 93 | 93 | 'type' => 'string', |
| 94 | 94 | 'default' => '', |
| 95 | 95 | ], |
| 96 | + 'priceAlignmentCustom' => [ | |
| 97 | + 'type' => 'boolean', | |
| 98 | + 'default' => false, | |
| 99 | + ], | |
| 96 | 100 | ]; |
| 97 | 101 | |
| 98 | 102 | $attributes = array_merge( |
| 99 | 103 | $attributes, |
| @@ -126,9 +130,10 @@ | ||
| 126 | 130 | 'isResponsive' => true, |
| 127 | 131 | 'defaultValue' => null, |
| 128 | 132 | 'defaultValueMobile' => null, |
| 129 | 133 | 'defaultValueTablet' => null, |
| 130 | - 'hasUnit' => false, | |
| 134 | + 'hasUnit' => true, | |
| 135 | + 'unitDefaultValue' => '', | |
| 131 | 136 | ] ), |
| 132 | 137 | Range::get_attribute( [ |
| 133 | 138 | 'attributeName' => 'weight', |
| 134 | 139 | 'isResponsive' => false, |