| @@ -106,32 +106,22 @@ | ||
| 106 | 106 | ], |
| 107 | 107 | |
| 108 | 108 | 'grid-layout3' => [ |
| 109 | 109 | 'title' => esc_html__( 'Grid Layout 3', 'shopbuilder' ), |
| 110 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-3.png' ) ), | |
| 110 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-03.png' ) ), | |
| 111 | 111 | 'is_pro' => $status, |
| 112 | 112 | ], |
| 113 | - 'grid-layout4' => [ | |
| 114 | - 'title' => esc_html__( 'Grid Layout 4', 'shopbuilder' ), | |
| 115 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-4.png' ) ), | |
| 116 | - 'is_pro' => $status, | |
| 117 | - ], | |
| 118 | - 'grid-layout5' => [ | |
| 119 | - 'title' => esc_html__( 'Grid Layout 5', 'shopbuilder' ), | |
| 120 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-5.png' ) ), | |
| 121 | - 'is_pro' => $status, | |
| 122 | - ], | |
| 123 | - 'grid-layout6' => [ | |
| 124 | - 'title' => esc_html__( 'Grid Layout 6', 'shopbuilder' ), | |
| 125 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-6.png' ) ), | |
| 126 | - 'is_pro' => $status, | |
| 127 | - ], | |
| 128 | - 'grid-layout7' => [ | |
| 129 | - 'title' => esc_html__( 'Grid Layout 7', 'shopbuilder' ), | |
| 130 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-7.png' ) ), | |
| 131 | - 'is_pro' => $status, | |
| 132 | - ], | |
| 133 | - | |
| 113 | + // TODO: Will be activated later. | |
| 114 | +// 'grid-layout4' => [ | |
| 115 | +// 'title' => esc_html__( 'Grid Layout 4', 'shopbuilder' ), | |
| 116 | +// 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-02.png' ) ), | |
| 117 | +// 'is_pro' => $status, | |
| 118 | +// ], | |
| 119 | +// 'grid-layout5' => [ | |
| 120 | +// 'title' => esc_html__( 'Grid Layout 5', 'shopbuilder' ), | |
| 121 | +// 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 122 | +// 'is_pro' => $status, | |
| 123 | +// ], | |
| 134 | 124 | ] |
| 135 | 125 | ); |
| 136 | 126 | } |
| 137 | 127 | |
| @@ -164,34 +154,8 @@ | ||
| 164 | 154 | ); |
| 165 | 155 | } |
| 166 | 156 | |
| 167 | 157 | /** |
| 168 | - * Single Advanced Product Tab Layouts | |
| 169 | - * | |
| 170 | - * @return array | |
| 171 | - */ | |
| 172 | - public static function single_advanced_product_tab_layouts() { | |
| 173 | - | |
| 174 | - return apply_filters( | |
| 175 | - 'rtsb/elements/elementor/single_advanced_product_tab_layouts', | |
| 176 | - [ | |
| 177 | - 'default' => [ | |
| 178 | - 'title' => esc_html__( 'Default Layout', 'shopbuilder' ), | |
| 179 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-01.png' ) ), | |
| 180 | - ], | |
| 181 | - 'custom-layout1' => [ | |
| 182 | - 'title' => esc_html__( 'Accordion Layout', 'shopbuilder' ), | |
| 183 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-02.png' ) ), | |
| 184 | - ], | |
| 185 | - 'custom-layout2' => [ | |
| 186 | - 'title' => esc_html__( 'Tab Layout', 'shopbuilder' ), | |
| 187 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/tab-03.png' ) ), | |
| 188 | - ], | |
| 189 | - ] | |
| 190 | - ); | |
| 191 | - } | |
| 192 | - | |
| 193 | - /** | |
| 194 | 158 | * Slider Layouts |
| 195 | 159 | * |
| 196 | 160 | * @return array |
| 197 | 161 | */ |
| @@ -210,39 +174,26 @@ | ||
| 210 | 174 | 'title' => esc_html__( 'Slider Layout 2', 'shopbuilder' ), |
| 211 | 175 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-Layout-2.png' ) ), |
| 212 | 176 | ], |
| 213 | 177 | |
| 214 | - 'slider-layout3' => [ | |
| 215 | - 'title' => esc_html__( 'Slider Layout 3', 'shopbuilder' ), | |
| 216 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-3.png' ) ), | |
| 217 | - 'is_pro' => $status, | |
| 218 | - ], | |
| 219 | - | |
| 220 | - 'slider-layout4' => [ | |
| 221 | - 'title' => esc_html__( 'Slider Layout 4', 'shopbuilder' ), | |
| 222 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-4.png' ) ), | |
| 223 | - 'is_pro' => $status, | |
| 224 | - ], | |
| 225 | - 'slider-layout5' => [ | |
| 226 | - 'title' => esc_html__( 'Slider Layout 5', 'shopbuilder' ), | |
| 227 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-5.png' ) ), | |
| 228 | - 'is_pro' => $status, | |
| 229 | - ], | |
| 230 | - 'slider-layout6' => [ | |
| 231 | - 'title' => esc_html__( 'Slider Layout 6', 'shopbuilder' ), | |
| 232 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-6.png' ) ), | |
| 233 | - 'is_pro' => $status, | |
| 234 | - ], | |
| 235 | - 'slider-layout7' => [ | |
| 236 | - 'title' => esc_html__( 'Slider Layout 7', 'shopbuilder' ), | |
| 237 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/slider-style-7.png' ) ), | |
| 238 | - 'is_pro' => $status, | |
| 239 | - ], | |
| 240 | - 'slider-layout8' => [ | |
| 241 | - 'title' => esc_html__( 'Slider Layout 8', 'shopbuilder' ), | |
| 242 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-6.png' ) ), | |
| 243 | - 'is_pro' => $status, | |
| 244 | - ], | |
| 178 | + // TODO: Will be activated later. | |
| 179 | + // 'slider-layout3' => [ | |
| 180 | + // 'title' => esc_html__( 'Slider Layout 3', 'shopbuilder' ), | |
| 181 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-03.png' ) ), | |
| 182 | + // 'is_pro' => $status, | |
| 183 | + // ], | |
| 184 | + // | |
| 185 | + // 'slider-layout4' => [ | |
| 186 | + // 'title' => esc_html__( 'Slider Layout 4', 'shopbuilder' ), | |
| 187 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-02.png' ) ), | |
| 188 | + // 'is_pro' => $status, | |
| 189 | + // ], | |
| 190 | + // | |
| 191 | + // 'slider-layout5' => [ | |
| 192 | + // 'title' => esc_html__( 'Slider Layout 5', 'shopbuilder' ), | |
| 193 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 194 | + // 'is_pro' => $status, | |
| 195 | + // ], | |
| 245 | 196 | ] |
| 246 | 197 | ); |
| 247 | 198 | } |
| 248 | 199 | |
| @@ -260,32 +211,25 @@ | ||
| 260 | 211 | 'list-layout1' => [ |
| 261 | 212 | 'title' => esc_html__( 'List Layout 1', 'shopbuilder' ), |
| 262 | 213 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-Layout-1.png' ) ), |
| 263 | 214 | ], |
| 215 | + | |
| 264 | 216 | 'list-layout2' => [ |
| 265 | 217 | 'title' => esc_html__( 'List Layout 2', 'shopbuilder' ), |
| 266 | 218 | 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-Layout-2.png' ) ), |
| 267 | 219 | ], |
| 220 | + | |
| 268 | 221 | 'list-layout3' => [ |
| 269 | 222 | 'title' => esc_html__( 'List Layout 3', 'shopbuilder' ), |
| 270 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-3.png' ) ), | |
| 223 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-02.png' ) ), | |
| 271 | 224 | 'is_pro' => $status, |
| 272 | 225 | ], |
| 273 | - 'list-layout4' => [ | |
| 274 | - 'title' => esc_html__( 'List Layout 4', 'shopbuilder' ), | |
| 275 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-4.png' ) ), | |
| 276 | - 'is_pro' => $status, | |
| 277 | - ], | |
| 278 | - 'list-layout5' => [ | |
| 279 | - 'title' => esc_html__( 'List Layout 5', 'shopbuilder' ), | |
| 280 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-5.png' ) ), | |
| 281 | - 'is_pro' => $status, | |
| 282 | - ], | |
| 283 | - 'list-layout6' => [ | |
| 284 | - 'title' => esc_html__( 'List Layout 6', 'shopbuilder' ), | |
| 285 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-6.png' ) ), | |
| 286 | - 'is_pro' => $status, | |
| 287 | - ], | |
| 226 | + // TODO: Will be activated later. | |
| 227 | + // 'list-layout4' => [ | |
| 228 | + // 'title' => esc_html__( 'List Layout 4', 'shopbuilder' ), | |
| 229 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/list-style-01.png' ) ), | |
| 230 | + // 'is_pro' => $status, | |
| 231 | + // ], | |
| 288 | 232 | ] |
| 289 | 233 | ); |
| 290 | 234 | } |
| 291 | 235 | |
| @@ -301,21 +245,28 @@ | ||
| 301 | 245 | 'rtsb/elements/elementor/category_layouts', |
| 302 | 246 | [ |
| 303 | 247 | 'category-layout1' => [ |
| 304 | 248 | 'title' => esc_html__( 'Category Layout 1', 'shopbuilder' ), |
| 305 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-1.png' ) ), | |
| 249 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 306 | 250 | ], |
| 307 | 251 | |
| 308 | 252 | 'category-layout2' => [ |
| 309 | 253 | 'title' => esc_html__( 'Category Layout 2', 'shopbuilder' ), |
| 310 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-2.png' ) ), | |
| 254 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 311 | 255 | ], |
| 312 | - 'category-layout3' => [ | |
| 313 | - 'title' => esc_html__( 'Category Layout 3', 'shopbuilder' ), | |
| 314 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/categories-3.png' ) ), | |
| 315 | - 'is_pro' => $status, | |
| 316 | - ], | |
| 317 | 256 | |
| 257 | + // TODO: Will be activated later. | |
| 258 | + // 'category-layout3' => [ | |
| 259 | + // 'title' => esc_html__( 'Category Layout 3', 'shopbuilder' ), | |
| 260 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 261 | + // 'is_pro' => $status, | |
| 262 | + // ], | |
| 263 | + // | |
| 264 | + // 'category-layout4' => [ | |
| 265 | + // 'title' => esc_html__( 'Category Layout 4', 'shopbuilder' ), | |
| 266 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 267 | + // 'is_pro' => $status, | |
| 268 | + // ], | |
| 318 | 269 | ] |
| 319 | 270 | ); |
| 320 | 271 | } |
| 321 | 272 | |
| @@ -438,16 +389,23 @@ | ||
| 438 | 389 | 'rtsb/elements/elementor/category_single_layouts', |
| 439 | 390 | [ |
| 440 | 391 | 'category-single-layout1' => [ |
| 441 | 392 | 'title' => esc_html__( 'Single Category Layout 1', 'shopbuilder' ), |
| 442 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/single-category-1.png' ) ), | |
| 393 | + 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 443 | 394 | ], |
| 444 | 395 | |
| 445 | - 'category-single-layout2' => [ | |
| 446 | - 'title' => esc_html__( 'Single Category Layout 2', 'shopbuilder' ), | |
| 447 | - 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/single-category-2.png' ) ), | |
| 448 | - 'is_pro' => $status, | |
| 449 | - ], | |
| 396 | + // TODO: Will be activated later. | |
| 397 | + // 'category-single-layout2' => [ | |
| 398 | + // 'title' => esc_html__( 'Single Category Layout 2', 'shopbuilder' ), | |
| 399 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 400 | + // 'is_pro' => $status, | |
| 401 | + // ], | |
| 402 | + // | |
| 403 | + // 'category-single-layout3' => [ | |
| 404 | + // 'title' => esc_html__( 'Single Category Layout 3', 'shopbuilder' ), | |
| 405 | + // 'url' => esc_url( rtsb()->get_assets_uri( 'images/layout/grid-style-01.png' ) ), | |
| 406 | + // 'is_pro' => $status, | |
| 407 | + // ], | |
| 450 | 408 | ] |
| 451 | 409 | ); |
| 452 | 410 | } |
| 453 | 411 | |
| @@ -499,14 +457,13 @@ | ||
| 499 | 457 | * @return array |
| 500 | 458 | */ |
| 501 | 459 | public static function filter_products() { |
| 502 | 460 | return [ |
| 503 | - 'recent' => esc_html__( 'Default', 'shopbuilder' ), | |
| 504 | - 'featured' => esc_html__( 'Featured Products', 'shopbuilder' ), | |
| 505 | - 'best-selling' => esc_html__( 'Best Selling Products', 'shopbuilder' ), | |
| 506 | - 'sale' => esc_html__( 'Sale Products', 'shopbuilder' ), | |
| 507 | - 'top-rated' => esc_html__( 'Top Rated Products', 'shopbuilder' ), | |
| 508 | - 'recently-viewed' => esc_html__( 'Recently Viewed Products', 'shopbuilder' ), | |
| 461 | + 'recent' => esc_html__( 'Recent Products', 'shopbuilder' ), | |
| 462 | + 'featured' => esc_html__( 'Featured Products', 'shopbuilder' ), | |
| 463 | + 'best-selling' => esc_html__( 'Best Selling Products', 'shopbuilder' ), | |
| 464 | + 'sale' => esc_html__( 'Sale Products', 'shopbuilder' ), | |
| 465 | + 'top-rated' => esc_html__( 'Top Rated Products', 'shopbuilder' ), | |
| 509 | 466 | ]; |
| 510 | 467 | } |
| 511 | 468 | |
| 512 | 469 | /** |