Skip to main content

add to text under chart button

More
15 years 1 month ago - 15 years 1 month ago #23974 by resif
i wantto add to desciripton text under chart button

i guess in product_right_part but from where?

where i can in this show.php code and how?
Code:
<div id="hikashop_product_right_part" class="hikashop_product_right_part"> <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(); } ?> </span><br /> <?php if(isset($this->element->product_weight) && bccomp($this->element->product_weight,0,3)){ ?> <span id="hikashop_product_weight_main" class="hikashop_product_weight_main"> <?php echo JText::_('PRODUCT_WEIGHT').': '.rtrim($this->element->product_weight,',.0').' '.JText::_($this->element->product_weight_unit); ?><br /> </span> <?php } if($this->config->get('dimensions_display',0) && bccomp($this->element->product_width,0,3)){ ?> <span id="hikashop_product_width_main" class="hikashop_product_width_main"> <?php echo JText::_('PRODUCT_WIDTH').': '.rtrim($this->element->product_width,',.0').' '.JText::_($this->element->product_dimension_unit); ?><br /> </span> <?php } if($this->config->get('dimensions_display',0) && bccomp($this->element->product_length,0,3)){ ?> <span id="hikashop_product_length_main" class="hikashop_product_length_main"> <?php echo JText::_('PRODUCT_LENGTH').': '.rtrim($this->element->product_length,',.0').' '.JText::_($this->element->product_dimension_unit); ?><br /> </span> <?php } if($this->config->get('dimensions_display',0) && bccomp($this->element->product_height,0,3)){ ?> <span id="hikashop_product_height_main" class="hikashop_product_height_main"> <?php echo JText::_('PRODUCT_HEIGHT').': '.rtrim($this->element->product_height,',.0').' '.JText::_($this->element->product_dimension_unit); ?><br /> </span> <?php } if(!empty($this->element->characteristics)){ ?><div id="hikashop_product_characteristics" class="hikashop_product_characteristics"><?php echo $this->characteristic->displayFE($this->element,$this->params); ?></div><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 } ?> <div id="hikashop_product_custom_item_info" class="hikashop_product_custom_item_info"> <table width="100%"> <?php foreach($this->itemFields as $fieldName => $oneExtraField) { ?> <tr id="hikashop_item_<?php echo $oneExtraField->field_namekey; ?>" class="hikashop_item_<?php echo $oneExtraField->field_namekey;?>_line"> <td class="key"> <span id="hikashop_product_custom_item_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_item_name"> <?php echo $this->fieldsClass->getFieldName($oneExtraField);?> </span> </td> <td> <span id="hikashop_product_custom_item_value_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_item_value"> <?php $onWhat='onchange'; if($oneExtraField->field_type=='radio') $onWhat='onclick'; ?> <?php echo $this->fieldsClass->display($oneExtraField,$this->element->$fieldName,'data[item]['.$oneExtraField->field_namekey.']',false,' '.$onWhat.'="hikashopToggleFields(this.value,\''.$fieldName.'\',\'item\',0);"'); ?> </span> </td> </tr> <?php }?> </table> </div> <?php } } ?> <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> <?php $contact = $this->config->get('product_contact',0); ?> <div id="hikashop_product_contact_main" class="hikashop_product_contact_main"> <?php 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>
Last edit: 15 years 1 month ago by resif.

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

More
15 years 1 month ago #23990 by nicolas
You can add your text just before the line <div id="hikashop_product_contact_main" class="hikashop_product_contact_main">
Just write the text. There is nothing particular to do.

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

Time to create page: 0.169 seconds
Powered by Kunena Forum