Skip to content

Commit a554a07

Browse files
authored
Use correct show_tax value (rapidez#753)
1 parent dc1d570 commit a554a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/ViewComposers/ConfigComposer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function getConfig(): array
6868
'searchable' => array_merge($searchableAttributes, config('rapidez.indexer.searchable')),
6969
'show_customer_address_fields' => $this->getCustomerAddressFields(),
7070
'street_lines' => Rapidez::config('customer/address/street_lines', 2),
71-
'show_tax' => (bool) Rapidez::config('tax/display/type', 1),
71+
'show_tax' => in_array(Rapidez::config('tax/display/type', 1), [2, 3]),
7272
'grid_per_page' => Rapidez::config('catalog/frontend/grid_per_page', 12),
7373
'grid_per_page_values' => explode(',', Rapidez::config('catalog/frontend/grid_per_page_values', '12,24,36')),
7474
];

0 commit comments

Comments
 (0)