Jump to content

Product Price and Add to Basket


roban

Recommended Posts

Open styleTemplates/content/viewProd.tpl under your skin directory

(KILLER)

Quantity + Add button

    <!-- BEGIN: buy_btn -->

	<div style="position: relative; text-align: left;">{LANG_QUAN} 

	<input name="quan" type="text" value="1" size="2" class="textbox" style="text-align:center;" />

	<a href="javascript:submitDoc('addtobasket');" class="txtButton">{BTN_ADDBASKET}</a>

	</div>

	<!-- END: buy_btn -->


Price & Sale price
<p>

<strong>{LANG_PRICE}</strong> {TXT_PRICE} 

<span class="txtSale">{TXT_SALE_PRICE}</span>

</p>


In/Out of stock
	{TXT_INSTOCK}<span class="txtOutOfStock">{TXT_OUTOFSTOCK}</span>




Group codes above together like
	<p>

  <strong>{LANG_PRICE}</strong> {TXT_PRICE} 

  <span class="txtSale">{TXT_SALE_PRICE}</span>

	<div>

	{TXT_INSTOCK}<span class="txtOutOfStock">{TXT_OUTOFSTOCK}</span>

	

    <!-- BEGIN: buy_btn -->

	<div style="position: relative; text-align: left;">{LANG_QUAN} 

	<input name="quan" type="text" value="1" size="2" class="textbox" style="text-align:center;" />

	<a href="javascript:submitDoc('addtobasket');" class="txtButton">{BTN_ADDBASKET}</a>

	</div>

	<!-- END: buy_btn -->

	</div> 

	</p>
(modify div tags, or remove) and paste after 
<p class="txtContentTitle"><strong>{TXT_PRODTITLE}</strong></p>

Thats all

Link to comment
Share on other sites

;)

Little modification.....paste code after

	<!-- END: more_images -->

this moves the price and Add to Basket to the top above Product Description, What i was writting first, moves the price and Add to Basket to the top above products image....

nobody is perfect :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...