Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding Qty Box to Cross Sell above "Add to Cart" button

Adding Qty Box to Cross Sell above "Add to Cart" button

Views: 736

Results 1 to 2 of 2
6 Mar 2012, 5:14 PM
#1
bigstore avatar

bigstore

New Zenner

Join Date:
Jan 2012
Posts:
63
Plugin Contributions:
0

Adding Qty Box to Cross Sell above "Add to Cart" button

Is it possible to add Qty Box field above the Add to Cart button within the Ultimate Cross Sell plugin? In the Admin? I didn't see anything that would lead me to be able to do this.

Should I use custom PHP for this?

Thanks

6 Mar 2012, 5:37 PM
#2
bigstore avatar

bigstore

New Zenner

Join Date:
Jan 2012
Posts:
63
Plugin Contributions:
0

Re: Adding Qty Box to Cross Sell above "Add to Cart" button

Here is the PHP from the Image, Description, Model, Price:

  (constant(CROSS_SELL.$cross_sell._DISPLAY_NAME)=='true'? '
  <div class="itemTitle">
  		<h4 class="itemTitle">
			<a href="' . zen_href_link(zen_get_info_page($cross_sell_query->fields['products_id']), 'products_id=' . (int)$cross_sell_query->fields['products_id']) . '">' . $cross_sell_query->fields['products_name'] . '</a>
		</h4>
	</div>':'').

  
  (constant(CROSS_SELL.$cross_sell._DISPLAY_MODEL)=='true'? '
  <div class="itemModel">
  		<h4 class="itemTitle">
			<a href="' . zen_href_link(zen_get_info_page($cross_sell_query->fields['products_id']), 'products_id=' . (int)$cross_sell_query->fields['products_id']) . '">' . zen_products_lookup($cross_sell_query->fields['products_id'], 'products_model') . '	</a>	
		</h4>
		</div>':'').    
			  	  

  (constant(CROSS_SELL.$cross_sell._DISPLAY_PRICE)=='true'? '
  <div class="price">'.zen_get_products_display_price($cross_sell_query->fields['products_id']).'</div>':'') .

  (constant(CROSS_SELL.$cross_sell._DISPLAY_BUY_NOW)=='true'? '
  <div class="listingBuyNowButton">'.$lc_button.'</div>':'') );

I'd like it to display the order like this:
Image, Description, Model, MSRP, Price, Qty Box, Add to Cart Button.