| @@ -129,9 +129,18 @@ | ||
| 129 | 129 | 'title' => esc_html__( 'Grid Layout 7', 'shopbuilder' ), |
| 130 | 130 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-7.png' ) ), |
| 131 | 131 | 'is_pro' => $status, |
| 132 | 132 | ], |
| 133 | - | |
| 133 | + 'grid-layout8' => [ | |
| 134 | + 'title' => esc_html__( 'Grid Layout 8', 'shopbuilder' ), | |
| 135 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-8.png' ) ), | |
| 136 | + 'is_pro' => $status, | |
| 137 | + ], | |
| 138 | + 'grid-layout9' => [ | |
| 139 | + 'title' => esc_html__( 'Special Layout 1', 'shopbuilder' ), | |
| 140 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-9a.png' ) ), | |
| 141 | + 'is_pro' => $status, | |
| 142 | + ], | |
| 134 | 143 | ] |
| 135 | 144 | ); |
| 136 | 145 | } |
| 137 | 146 | |
| @@ -164,14 +173,34 @@ | ||
| 164 | 173 | ); |
| 165 | 174 | } |
| 166 | 175 | |
| 167 | 176 | /** |
| 177 | + * Multi Step Checkout Layouts | |
| 178 | + * | |
| 179 | + * @return array | |
| 180 | + */ | |
| 181 | + public static function multi_step_checkout_layouts() { | |
| 182 | + $status = ! rtsb()->has_pro(); | |
| 183 | + | |
| 184 | + return apply_filters( | |
| 185 | + 'rtsb/elements/elementor/single_product_tab_layouts', | |
| 186 | + [ | |
| 187 | + 'layout1' => [ | |
| 188 | + 'title' => esc_html__( 'Layout 1', 'shopbuilder' ), | |
| 189 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-01.png' ) ), | |
| 190 | + ], | |
| 191 | + | |
| 192 | + ] | |
| 193 | + ); | |
| 194 | + } | |
| 195 | + | |
| 196 | + /** | |
| 168 | 197 | * Single Advanced Product Tab Layouts |
| 169 | 198 | * |
| 170 | 199 | * @return array |
| 171 | 200 | */ |
| 172 | 201 | public static function single_advanced_product_tab_layouts() { |
| 173 | - | |
| 202 | + // TODO:: Check If the FUnction Used Or Not. | |
| 174 | 203 | return apply_filters( |
| 175 | 204 | 'rtsb/elements/elementor/single_advanced_product_tab_layouts', |
| 176 | 205 | [ |
| 177 | 206 | 'default' => [ |
| @@ -241,8 +270,13 @@ | ||
| 241 | 270 | 'title' => esc_html__( 'Slider Layout 8', 'shopbuilder' ), |
| 242 | 271 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-6.png' ) ), |
| 243 | 272 | 'is_pro' => $status, |
| 244 | 273 | ], |
| 274 | + 'slider-layout9' => [ | |
| 275 | + 'title' => esc_html__( 'Slider Layout 9', 'shopbuilder' ), | |
| 276 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-8.png' ) ), | |
| 277 | + 'is_pro' => $status, | |
| 278 | + ], | |
| 245 | 279 | ] |
| 246 | 280 | ); |
| 247 | 281 | } |
| 248 | 282 | |
| @@ -284,8 +318,13 @@ | ||
| 284 | 318 | 'title' => esc_html__( 'List Layout 6', 'shopbuilder' ), |
| 285 | 319 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-6.png' ) ), |
| 286 | 320 | 'is_pro' => $status, |
| 287 | 321 | ], |
| 322 | + 'list-layout7' => [ | |
| 323 | + 'title' => esc_html__( 'List Layout 7', 'shopbuilder' ), | |
| 324 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-7.png' ) ), | |
| 325 | + 'is_pro' => $status, | |
| 326 | + ], | |
| 288 | 327 | ] |
| 289 | 328 | ); |
| 290 | 329 | } |
| 291 | 330 | |
| @@ -313,8 +352,13 @@ | ||
| 313 | 352 | 'title' => esc_html__( 'Category Layout 3', 'shopbuilder' ), |
| 314 | 353 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-3.png' ) ), |
| 315 | 354 | 'is_pro' => $status, |
| 316 | 355 | ], |
| 356 | + 'category-layout4' => [ | |
| 357 | + 'title' => esc_html__( 'Category Layout 4', 'shopbuilder' ), | |
| 358 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-3.png' ) ), | |
| 359 | + 'is_pro' => $status, | |
| 360 | + ], | |
| 317 | 361 | |
| 318 | 362 | ] |
| 319 | 363 | ); |
| 320 | 364 | } |
| @@ -502,9 +546,9 @@ | ||
| 502 | 546 | return [ |
| 503 | 547 | 'recent' => esc_html__( 'Default', 'shopbuilder' ), |
| 504 | 548 | 'featured' => esc_html__( 'Featured Products', 'shopbuilder' ), |
| 505 | 549 | 'best-selling' => esc_html__( 'Best Selling Products', 'shopbuilder' ), |
| 506 | - 'sale' => esc_html__( 'Sale Products', 'shopbuilder' ), | |
| 550 | + 'sale' => esc_html__( 'On Sale Products', 'shopbuilder' ), | |
| 507 | 551 | 'top-rated' => esc_html__( 'Top Rated Products', 'shopbuilder' ), |
| 508 | 552 | 'recently-viewed' => esc_html__( 'Recently Viewed Products', 'shopbuilder' ), |
| 509 | 553 | ]; |
| 510 | 554 | } |