Price display, brackets and symbols

  • Posts: 6
  • Thank you received: 0
12 years 4 months ago #55010

There are a few very informative threads which i've read and tried but I must be doing something wrong. In my cart it shows
AUD$25.00 (AUD$25.00)

If i move symbol to right I get 25.00AUD$ and if I change the symbol to $ instead of AUD it works but then in currency swap it says $ $ so doesn't describe the currency.

I can't charge tax, and i've changed all Display->Module Display->Menu to 'NO TAX' but it still shows with this extra bracket. I am assuming the second (AUD$25.00) is for tax??

Another side note, Which i'm sure I will find with a bit of searching, but where is the option for creating customer database ie. registration and log in forms? Is that including with Hika or a Joomla based module?

Thanks in advance, and sorry if I have missed this soemwhere. I have been looking for hours and changing every setting and i'm getting to the point of giving up. :(

Last edit: 12 years 4 months ago by NekoMama. Reason: so flustered spelling and nonsense sentenses sorry

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 4 months ago #55060

There are tax options in the hikashop options screen of each menu and module that you can edit via the menus Display->Content menus/modules. Also, you will find similar options in the Display tab of the configuration.
Please check that you set it to no tax everywhere.

If you want to change the HikaShop registration form, you can edit the address fields via the menu Display->Custom fields. If you want to have a menu linking tot he HikaShop registration page, you can create a menu item of the type hikashop user registration via the joomla menu manager.
Regarding the login, that can be added with the joomla login module via the joomla modules manager.

The following user(s) said Thank You: NekoMama

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 4 months ago #55139

Thank you, it's all a bit overwhelming.

May I ask another question here instead of opening another thread? I've come across many people needing to change the areas where the product is set up. I have played around with show_default and can't seem to move anything. I've deleted cache to see if it works but nothing has changed.

Here is what it is so far:

<?php
/**
* @package HikaShop for Joomla!
* @version 1.5.7
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
<div id="hikashop_product_top_part" class="hikashop_product_top_part">
<h1>
<span id="hikashop_product_name_main" class="hikashop_product_name_main">
<?php
if (hikashop_getCID('product_id')!=$this->element->product_id && isset ($this->element->main->product_name))
echo $this->element->main->product_name;
else
echo $this->element->product_name;
?>
</span>
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>
</h1>
</div>
<div id="hikashop_product_left_part" class="hikashop_product_left_part">
<?php
$this->row = & $this->element;
$this->setLayout('show_block_img');
echo $this->loadTemplate();
?>
</div>
<div id="hikashop_product_right_part" class="hikashop_product_right_part">
<div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini">
<?php
if($this->params->get('show_vote_product')){
$js = '';
$params = null;
$this->params->set('vote_type','product');
if(isset($this->element->main)){
$product_id = $this->element->main->product_id;
}else{
$product_id = $this->element->product_id;
}
$this->params->set('product_id',$product_id);
echo hikashop_getLayout('vote', 'mini', $this->params, $js);
}
?>
</div>
<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 />
<?php
$this->setLayout('show_block_charasteristic');
echo $this->loadTemplate();
?>
<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;
if($this->params->get('show_price')){ ?>
<span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main">
</span>
<?php } ?>
<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>?>
<div id="hikashop_product_description_main" class="hikashop_product_description_main">
<?php
echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
?>
</div>

<?php
$pluginsClass = hikashop_get('class.plugins');
$plugin = $pluginsClass->getByName('content', 'hikashopsocial');
if (@ $plugin->published || @ $plugin->enabled) {
echo '{hikashop_social}';
}
?>




<div id="hikashop_product_contact_main" class="hikashop_product_contact_main">
<?php
$contact = $this->config->get('product_contact',0);
if (hikashop_level(1) && ($contact == 2 || ($contact == 1 && !empty ($this->element->product_contact)))) {
$empty = '';
$params = new JParameter($empty);
echo $this->cart->displayButton(JText :: _('CONTACT_US_FOR_INFO'), 'contact_us', $params, hikashop_completeLink('product&task=contact&cid=' . $this->row->product_id), 'window.location=\'' . hikashop_completeLink('product&task=contact&cid=' . $this->row->product_id) . '\';return false;');
}
?>
</div>
<?php
if(!empty($this->fields)){
$this->setLayout('show_block_custom_main');
echo $this->loadTemplate();
}

<span id="hikashop_product_id_main" class="hikashop_product_id_main">
<input type="hidden" name="product_id" value="<?php echo $this->element->product_id; ?>" />
</span>
</div>
<div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part">
<span id="hikashop_product_url_main" class="hikashop_product_url_main">
<?php
if (!empty ($this->element->product_url)) {
echo JText :: sprintf('MANUFACTURER_URL', '<a href="' . $this->element->product_url . '" target="_blank">' . $this->element->product_url . '</a>');
}
?>
</span>
<?php
$this->setLayout('show_block_product_files');
echo $this->loadTemplate();
?>
<div id="hikashop_product_vote_listing" class="hikashop_product_vote_listing">
<?php
if($this->params->get('show_vote_product')){
$js = '';
$params = null; //Params already existing in the previous getLayout('vote', ...)
echo hikashop_getLayout('vote', 'listing', $params, $js);
?>
</div>
<div id="hikashop_product_vote_form" class="hikashop_product_vote_form">
<?php
$js = '';
$params = null;
echo hikashop_getLayout('vote', 'form', $params, $js);
}
?>
</div>
</div>


This is what I have showing -

This is what i'm trying to achieve -


Thank you so very much! We are both very impressed with the cart software it is very easy and the support is wonderful. We have trialled a few and Hikashop is so easy for us with little skill.

xx NekoMama

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 4 months ago #55141

I would like to confirm also, that there is no way to stop characteristics from showing up when they are out of stock? I did research but believe there is no option in Hikashop. IE Size 1 has no stock, so exclude it from the drop down list.

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 4 months ago #55193

If you don't see any change on your product page, it's probably that you're editing the view file for another template than the one you're using on your frontend. Please check on that.

Indeed, there is no option to hide the option in that case. The system will just not display the add to cart button for that option.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 4 months ago #55228

Thanks Nicolas, So I have put the code in the right places (left part / right part)?
I'll have to go through and double check that its set on the right template.

When we purchase commercial version of Hika Shop, will someone be able to help us back end to make sure we aren't silly and missed something?

Thanks :)

EDIT: Ok, I realised I was using the wrong template thanks! Now, I think the description is too wide so it is pushing it to the bottom. Is there a way to wrap text or keep that text box at a certain width? I'll double check the forums for this also.

Thank you again!

EDIT AGAIN:
Ok I feel like an idiot because I can't get this code to work. Please tell me i've done something wrong...

<div id="hikashop_product_description_main" class="hikashop_product_description_main" style="width:500 height:400 overflow:scroll"

Last edit: 12 years 4 months ago by NekoMama.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 4 months ago #55238

SOLVED!!!

Here is some style code to anyone else with the same issue!

<div id="hikashop_product_description_main" class="hikashop_product_description_main" style="width: 300px; height: 300px; overflow: auto;">

(i realise this may be very basic CSS knowledge for you awesome coders, but for learners like me this was difficult to figure out!)

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 4 months ago #55282

If you just want to add CSS to the view, you don't have to edit the view.
You can just add the CSS in the front end CSS file of HikaShop that you can edit via the Display tab of the configuration.

For example, in that case, it would be:
#hikashop_product_description_main{ width: 300px; height: 300px; overflow: auto; }

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum