Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Get Total Quantity In Each Product In Admin? Rate Topic   - - - - -

  • Cached
  • Member
  • Members
  • Join Date: 02-Mar 11
  • 49 posts

Posted 07 July 2011 - 07:27 AM #1

Hi to all GURU

This is my code in configurator, I having problem how to get total quantity in product catalog in each product

sample i have 3 pcs Processor, so it will show in the option menu 3 for processor like intel core duo

im sick of this problem


this is my site
click here

<div {if !$capture_options_vs_qty} product-list-field{/if}" id="qty_{$obj_prefix}{$obj_id}">{if $product.qty_content}
<select name="product_data[{$obj_id}][amount]" id="qty_count_{$obj_prefix}{$obj_id}">
				{assign var="selected_amount" value=true}
				{foreach name="`$a_name`" from=$product.qty_content item="var"}
					<option value="{$var}" {if $product.selected_amount && ($product.selected_amount == $var || ($smarty.foreach.$a_name.last && !$selected_amount))}{assign var="selected_amount" value=true}selected="selected"{/if}>{$var}</option>