// Correct bad named vars "sparate" instead of "separate"
This commit is contained in:
@@ -295,7 +295,7 @@ class ParentOrderControllerCore extends FrontController
|
|||||||
$product['is_discounted'] = $product['price_without_specific_price'] != $product['price_wt'];
|
$product['is_discounted'] = $product['price_without_specific_price'] != $product['price_wt'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$show_option_allow_sparate_package = !$this->context->cart->isAllProductsInStock(true)
|
$show_option_allow_separate_package = !$this->context->cart->isAllProductsInStock(true)
|
||||||
&& Configuration::get('PS_SHIP_WHEN_AVAILABLE');
|
&& Configuration::get('PS_SHIP_WHEN_AVAILABLE');
|
||||||
|
|
||||||
$this->context->smarty->assign($summary);
|
$this->context->smarty->assign($summary);
|
||||||
@@ -315,7 +315,7 @@ class ParentOrderControllerCore extends FrontController
|
|||||||
'currencyRate' => $this->context->currency->conversion_rate,
|
'currencyRate' => $this->context->currency->conversion_rate,
|
||||||
'currencyFormat' => $this->context->currency->format,
|
'currencyFormat' => $this->context->currency->format,
|
||||||
'currencyBlank' => $this->context->currency->blank,
|
'currencyBlank' => $this->context->currency->blank,
|
||||||
'show_option_allow_sparate_package' => $show_option_allow_sparate_package,
|
'show_option_allow_separate_package' => $show_option_allow_separate_package,
|
||||||
|
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|||||||
@@ -325,7 +325,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if $show_option_allow_sparate_package}
|
{if $show_option_allow_separate_package}
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" name="allow_seperated_package" id="allow_seperated_package" {if $cart->allow_seperated_package}checked="checked"{/if} />
|
<input type="checkbox" name="allow_seperated_package" id="allow_seperated_package" {if $cart->allow_seperated_package}checked="checked"{/if} />
|
||||||
<label for="allow_seperated_package">{l s='Send the available products first'}</label>
|
<label for="allow_seperated_package">{l s='Send the available products first'}</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user