View Single Post
  #11  
Old 11-14-2011, 11:59 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Remove Quantity on Details Page

So I did a little more playing around with another site I have.

In the following code, notice I perform an if/then/else on the $product.productid eq 90. 90 is the Product ID for Party Deposit and it hides the multiplier options for just the Party Deposit. (see attachment) I've been trying to figure this out for MONTHS! Oh well...Done now.

Code:
<span class="product-price-text"> {if $product.productid eq '90'} {else} {currency value=$price} x {if $active_modules.Egoods and $product.distribution}1<input type="hidden"{else}<input type="text" size="3"{/if} name="productindexes[{$product.cartid}]" value="{$product.amount}" /> = </span> {/if}
Attached Thumbnails
Click image for larger version

Name:	thepeanutman_Cart_Multiplier_Example.jpg
Views:	132
Size:	128.0 KB
ID:	2780  
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote