product item view, add to cart, + - position

  • Posts: 32
  • Thank you received: 0
9 years 4 months ago #237882

Hello,

I can't find the views setup in which I could change the order and position of the toggle that allows the buyer to chose the amount of products that he wishes to buy. It is located next to the Add to cart button on the product item page.

I am talking about these php lines in the show tabular view:

<?php if(empty ($this->element->characteristics) || $this->params->get('characteristic_display')!='list'){ ?>
		<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 . ',\'cart\'); } else { return false; }';
			$this->setLayout('quantity');
			echo $this->loadTemplate();
			?>
		</div>


If the product amount is chosen to be on, this php produces a table or divs etc according to the chosen setup in which is the field with the amount number and + and - buttons.

I would like to know which code and where could I edit to be able to position the amount and + - buttons differently. Afaik it is not possible in the show tabular view.

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

  • Posts: 84310
  • Thank you received: 13701
  • MODERATOR
9 years 4 months ago #237907

Hi,

It's the file "show_quantity" that you want to edit.

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

  • Posts: 32
  • Thank you received: 0
9 years 4 months ago #237943

Thx!

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

Time to create page: 0.054 seconds
Powered by Kunena Forum