Hi,
If I makes same changes in show_default.php about witch order I want the characterist and price for the product to be in and click "Save" and Joomla tells my, "Saves succed" but in the frontend it´s still not done any changes!
How can that be?
For an example:
If I have add some text in show_default.php, beside a div-element, and then erase the text and saves it again It´s still on the webbpage in frontend.
It doesn´t makes any different if I changes the file within the ftp-software or in the backend Product -> Show -> show_default.php
Just be sure, the show_default.php are the product-page for a Hikashop-product?
Edit: Adding som code!
View source webbpage frontend:
<!-- ### Dropdownmeny pris START### -->
<span id="hikashop_product_price_main" class="hikashop_product_price_main">
<span class="hikashop_product_price_full">
<span class="hikashop_product_price hikashop_product_price_0">715,00 SEK</span> per enhet</span> </span><br />
<!-- ### Dropdownmeny pris SLUT ### -->
<br />
<span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main">
</span>
Antal:
<div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main">
<h5>Antal:</h5>
And its the text "Antal:" under the </span>-tag I want to remove and instead add the h5-element with the quantity-file.
<!-- ### Dropdownmeny varianter START ##################################### -->
<?php
$this->setLayout('show_block_charasteristic');
echo $this->loadTemplate();
?>
<!-- ### Dropdownmeny varianter SLUT ### -->
<br />
<?php
$form = '';
if (!$this->config->get('ajax_add_to_cart', 1)) {
$form = ',\'hikashop_product_form\'';
}
if (hikashop_level(1) && !empty ($this->element->options)) {
?>
<div id="hikashop_product_options" class="hikashop_product_options">
<?php
$this->setLayout('option');
echo $this->loadTemplate();
?>
</div>
<br />
<?php
$form = ',\'hikashop_product_form\'';
if ($this->config->get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') {
?>
<input type="hidden" name="popup" value="1"/>
<?php
}
}
if (!$this->params->get('catalogue') && ($this->config->get('display_add_to_cart_for_free_products') || !empty ($this->element->prices))) {
if (!empty ($this->itemFields)) {
$form = ',\'hikashop_product_form\'';
if ($this->config->get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') {
?>
<input type="hidden" name="popup" value="1"/>
<?php
}
$this->setLayout('show_block_custom_item');
echo $this->loadTemplate();
}
}
$this->formName = $form;
?>
<span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main">
</span>
<div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main">
<?php
$this->row = & $this->element;
$this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this->row->product_id . '\',field,1' . $form . '); } else { return false; }';
$this->setLayout('quantity');
echo $this->loadTemplate();
?>
</div>
<!-- ### Dropdownmeny pris START### -->
<span id="hikashop_product_price_main" class="hikashop_product_price_main">
<?php
if ($this->params->get('show_price')) {
$this->row = & $this->element;
$this->setLayout('listing_price');
echo $this->loadTemplate();
}
$this->setLayout('show_block_dimensions');
echo $this->loadTemplate();
?>
</span><br />
<!-- ### Dropdownmeny pris SLUT ### -->
And in quantity.php I create the h5-element above the quantity-field.
/Micke