Hi,
Check the product with options page on our demo website:
demo.hikashop.com/index.php/en/hikashop/...ct-page/with-options
As you can see, there are two prices:
- the price without options
- the price with options
When a product doesn't have options, only the price without options is displayed.
What you're describing indicates that you've removed the display of the price without options, so that only the price with options is displayed. Which means that for products without options, no price is displayed.
So the issue is a customization issue. You'll have to modify the show_default view file in order to add back the code you deleted and which is responsible for the display of the price without options on the product details page:
i.imgur.com/U6befiD.png
<!-- PRICE -->
<?php
$itemprop_offer = 'itemprop="offers" itemscope itemtype="https://schema.org/Offer"';
?>
<span id="hikashop_product_price_main" class="hikashop_product_price_main" <?php echo $itemprop_offer; ?>>
<?php
$main =& $this->element;
if(!empty($this->element->main))
$main =& $this->element->main;
if(!empty($main->product_condition) && !empty($this->element->prices)) {
?>
<meta itemprop="itemCondition" itemtype="https://schema.org/OfferItemCondition" content="https://schema.org/<?php echo $main->product_condition; ?>" />
<?php
}
if($this->params->get('show_price') && (empty($this->displayVariants['prices']) || $this->params->get('characteristic_display') != 'list')) {
$this->row =& $this->element;
$this->setLayout('listing_price');
echo $this->loadTemplate();
$price = 0;
if (!empty($this->element->prices)) {
$price = $this->itemprop_price;
}
}
?> <meta itemprop="price" content="<?php echo $price; ?>" />
<meta itemprop="availability" content="https://schema.org/<?php echo ($this->row->product_quantity != 0) ? 'InStock' : 'OutOfstock' ;?>" />
<meta itemprop="priceCurrency" content="<?php echo $this->currency->currency_code; ?>" />
</span>
<!-- EO PRICE -->