
<style type="text/css" >

	
.j2store-item-productlist-thumbimage{
	width : 200px;
}

.j2store-item-cart-button{
	background:#000000;
	color:#f0ebe4;
}

</style>
<div class="j2store j2store-productlist-view">
	<form action="/" method="post" name="productForm"  id="productForm" enctype="multipart/form-data">
	<div class="row">
				<!-- Check any one of the module in the position is published if published then the span size will be altered --->
			
		<div class="col-md-12 col-lg-12 col-sm-12 col-xs-12">
									<!--  Form Starts here again -->
					<div class="j2store-filters-selection">
						<!-- List showing the filter type used to search the product -->
						<ul class="j2store-filter-lists">
							
														<!-- This shows what data have been entered in the filter  -->
							<li class="j2store-product-filter filter-search">
															</li>
							
							<!-- this shows the price filters -->
							
							<!-- shows the selected tags -->
							
						</ul>
					</div>

					<!-- Sorting Module -->
					
					
										<input type="hidden" name="option" value="com_j2store" />
		<input type="hidden" name="view" value="products" />
		<input type="hidden" name="task" value="list" />
		<input type="hidden" name="list_limit" value="20" />
		<input type="hidden" name="c4751f4a202aa1277f97fcec30421109" value="1" />		</div>
	</div>
</form>

				<!-- Product grid placement here -->

					<!-- Products -->
																			
																													<div class="j2store-products-row cols-3 row-0">
															<div class="span4 col-sm-4 col-xs-12">
									<div class="j2store-product-single j2store-product-single-3381 column-1"
										itemscope itemtype="http://schema.org/Product">
										
	<!-- on Before display product -->
	<div class="j2store-before-display-product">
					</div>
	<!-- Form action starts here -->
	<form action="/cart.html" method="post" name="j2storeProductForm" id="j2store-product-list" class="j2storeProductForm">
			<!-- Before displaying product Images -->
			<div class="j2store-before-display-productimages">
							</div>
			<!--Main Image-->
			
				
						<!-- After Displaying product images -->
			<div class="j2store-before-display-productimages">
							</div>

			<!-- Before Display product Title -->
			<div class="j2store-before-display-product-title">
							</div>

			<!-- Title -->
							<h3 class="j2store-item-title" itemprop="name">
										<a itemprop="url" class="j2store-item-title-link" href="/view/3381-mlerp-course.html">
											美股MLeRP投资系统（字幕版预制录像）
										</a>
									</h3>
			
			<!-- After display product title -->
			<div class="j2store-after-display-product-title">
											</div>


			<!-- Item sku -->
			
			<!-- Price block -->
					<div class="j2store-before-display-product-price">
					</div>

		<div class="j2store-product-prices">

		<!-- Base price of the product -->
									<span class="j2store-product-item-label">价格</span>
				<strike>				<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
					<span itemprop="price" class="text" id="product_price_3381" class="product_price" itemprop="price">
						$2,398.00					</span>
				</span>
			</strike>			
		
		<!-- Do we have an offer. Display it here -->

		
		  		  		<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
					<span itemprop="price" id="product_special_price_3381" class="product-special-price">
						$1,098.00					</span>
				</span>
		
		<!--  we may have a customer group price -->
		  		</div>


		<div class="j2store-after-display-product-price">
					</div>
			<!-- Stock -->
			


			<!-- Options -->
							<div class="j2store-product-options-groups">
									</div>
			
			<!-- Cart block -->
				<!-- is catalogue mode enabled?-->
									
									<!-- product quantity -->
											<input type="hidden" name="product_qty" value="1" size="3" />
				    
			<!-- cart button -->
							<span class="j2store-product-item-label" >
									</span>
				<input id="addtoCartBtn" type="submit" class="j2store-item-cart-button button btnblue" value="点击购买" />
				<a style="display:none;" class="checkout-link" href="/cart.html">结账</a>
			
			
			<div class="error_container">
				<div class="j2product"></div>
				<div class="j2stock"></div>
			</div>
								
				
			
						<span itemprop="description"  class="j2store-product-description">
				<p><a href="/product-purchase/view/3381-mlerp-course.html" target="_blank"><img src="/images/2023/mlerp.png" width="700" height="380" alt="mlerp" style="margin-top: 30px;" /></a></p>
			</span>
			
						<!-- hidden inputs -->
			<input type="hidden" name="return" value="aHR0cHM6Ly9iZWFjb25zaS5vcmcvc2l0ZW1hcC54bWw=" />
			<input type="hidden" value="3381"  name="product_id"/>
			<input type="hidden" name="option" value="com_j2store" />
			<input type="hidden" name="productlayout" value="1" />
			<input type="hidden" name="view" value="mycart" />
			<input type="hidden" id="task" name="task" value="add" />
			<input type="hidden" name="c4751f4a202aa1277f97fcec30421109" value="1" />		</form>
		<!-- after displaying an product -->
		<div class="j2store-after-display-product">
								</div>
									</div><!-- end item -->
																	</div><!-- end span -->
								
							
																						<div class="span4 col-sm-4 col-xs-12">
									<div class="j2store-product-single j2store-product-single-665 column-2"
										itemscope itemtype="http://schema.org/Product">
										
	<!-- on Before display product -->
	<div class="j2store-before-display-product">
					</div>
	<!-- Form action starts here -->
	<form action="/cart.html" method="post" name="j2storeProductForm" id="j2store-product-list" class="j2storeProductForm">
			<!-- Before displaying product Images -->
			<div class="j2store-before-display-productimages">
							</div>
			<!--Main Image-->
			
				
						<!-- After Displaying product images -->
			<div class="j2store-before-display-productimages">
							</div>

			<!-- Before Display product Title -->
			<div class="j2store-before-display-product-title">
							</div>

			<!-- Title -->
							<h3 class="j2store-item-title" itemprop="name">
										<a itemprop="url" class="j2store-item-title-link" href="/view/665-options-course.html">
											期权基础实战班
										</a>
									</h3>
			
			<!-- After display product title -->
			<div class="j2store-after-display-product-title">
											</div>


			<!-- Item sku -->
			
			<!-- Price block -->
					<div class="j2store-before-display-product-price">
					</div>

		<div class="j2store-product-prices">

		<!-- Base price of the product -->
									<span class="j2store-product-item-label">价格</span>
								<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
					<span itemprop="price" class="text" id="product_price_665" class="product_price" itemprop="price">
						$1,898.00					</span>
				</span>
						
		
		<!-- Do we have an offer. Display it here -->

		
		  
		<!--  we may have a customer group price -->
		  		</div>


		<div class="j2store-after-display-product-price">
					</div>
			<!-- Stock -->
			


			<!-- Options -->
							<div class="j2store-product-options-groups">
									</div>
			
			<!-- Cart block -->
				<!-- is catalogue mode enabled?-->
									
									<!-- product quantity -->
											<input type="hidden" name="product_qty" value="1" size="3" />
				    
			<!-- cart button -->
							<span class="j2store-product-item-label" >
									</span>
				<input id="addtoCartBtn" type="submit" class="j2store-item-cart-button button btnblue" value="点击购买" />
				<a style="display:none;" class="checkout-link" href="/cart.html">结账</a>
			
			
			<div class="error_container">
				<div class="j2product"></div>
				<div class="j2stock"></div>
			</div>
								
				
			
						<span itemprop="description"  class="j2store-product-description">
				<p><a href="/product-purchase/view/665-options-course.html"><img style="margin-top: 30px;" src="/images/2019/class_3.jpg" alt="class 3" width="700" height="380" /></a></p>
			</span>
			
						<!-- hidden inputs -->
			<input type="hidden" name="return" value="aHR0cHM6Ly9iZWFjb25zaS5vcmcvc2l0ZW1hcC54bWw=" />
			<input type="hidden" value="665"  name="product_id"/>
			<input type="hidden" name="option" value="com_j2store" />
			<input type="hidden" name="productlayout" value="1" />
			<input type="hidden" name="view" value="mycart" />
			<input type="hidden" id="task" name="task" value="add" />
			<input type="hidden" name="c4751f4a202aa1277f97fcec30421109" value="1" />		</form>
		<!-- after displaying an product -->
		<div class="j2store-after-display-product">
								</div>
									</div><!-- end item -->
																	</div><!-- end span -->
								
							
																						<div class="span4 col-sm-4 col-xs-12">
									<div class="j2store-product-single j2store-product-single-664 column-3"
										itemscope itemtype="http://schema.org/Product">
										
	<!-- on Before display product -->
	<div class="j2store-before-display-product">
					</div>
	<!-- Form action starts here -->
	<form action="/cart.html" method="post" name="j2storeProductForm" id="j2store-product-list" class="j2storeProductForm">
			<!-- Before displaying product Images -->
			<div class="j2store-before-display-productimages">
							</div>
			<!--Main Image-->
			
				
						<!-- After Displaying product images -->
			<div class="j2store-before-display-productimages">
							</div>

			<!-- Before Display product Title -->
			<div class="j2store-before-display-product-title">
							</div>

			<!-- Title -->
							<h3 class="j2store-item-title" itemprop="name">
										<a itemprop="url" class="j2store-item-title-link" href="/view/664-futures-course.html">
											期货交易实战班
										</a>
									</h3>
			
			<!-- After display product title -->
			<div class="j2store-after-display-product-title">
											</div>


			<!-- Item sku -->
			
			<!-- Price block -->
					<div class="j2store-before-display-product-price">
					</div>

		<div class="j2store-product-prices">

		<!-- Base price of the product -->
									<span class="j2store-product-item-label">价格</span>
								<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
					<span itemprop="price" class="text" id="product_price_664" class="product_price" itemprop="price">
						$1,898.00					</span>
				</span>
						
		
		<!-- Do we have an offer. Display it here -->

		
		  
		<!--  we may have a customer group price -->
		  		</div>


		<div class="j2store-after-display-product-price">
					</div>
			<!-- Stock -->
			


			<!-- Options -->
							<div class="j2store-product-options-groups">
									</div>
			
			<!-- Cart block -->
				<!-- is catalogue mode enabled?-->
									
									<!-- product quantity -->
											<input type="hidden" name="product_qty" value="1" size="3" />
				    
			<!-- cart button -->
							<span class="j2store-product-item-label" >
									</span>
				<input id="addtoCartBtn" type="submit" class="j2store-item-cart-button button btnblue" value="点击购买" />
				<a style="display:none;" class="checkout-link" href="/cart.html">结账</a>
			
			
			<div class="error_container">
				<div class="j2product"></div>
				<div class="j2stock"></div>
			</div>
								
				
			
						<span itemprop="description"  class="j2store-product-description">
				<p><a href="/product-purchase/view/664-futures-course.html"><img style="margin-top: 30px;" src="/images/stories/2020/futures-course2021new.jpeg" alt="futures-course2021new" width="700" height="380" /></a></p>
			</span>
			
						<!-- hidden inputs -->
			<input type="hidden" name="return" value="aHR0cHM6Ly9iZWFjb25zaS5vcmcvc2l0ZW1hcC54bWw=" />
			<input type="hidden" value="664"  name="product_id"/>
			<input type="hidden" name="option" value="com_j2store" />
			<input type="hidden" name="productlayout" value="1" />
			<input type="hidden" name="view" value="mycart" />
			<input type="hidden" id="task" name="task" value="add" />
			<input type="hidden" name="c4751f4a202aa1277f97fcec30421109" value="1" />		</form>
		<!-- after displaying an product -->
		<div class="j2store-after-display-product">
								</div>
									</div><!-- end item -->
																	</div><!-- end span -->
								</div><!-- end row -->
								
												

				<!-- end Product placement here -->


<script type="text/javascript">
/** Add to Cart Button text   **/
var layoutCartText ='点击购买';
var redirect=1;
(function($) {
	$(document).ready(function(){
		$('.j2storeProductForm').each(function(){
			$(this).submit(function(e) {
				e.preventDefault();
				var form = $(this);
				/* Get input values from form */
				var values = form.serializeArray();
			$.ajax({
				url: 'index.php',
				type: 'post',
				data: values,
				dataType: 'json',
				beforeSend: function() {
					form.find("#addtoCartBtn").attr('value','加入...');
				},
				success: function(json) {
					form.find('.j2success, .j2warning, .j2attention, .j2information, .j2error').remove();
					$('.j2store-notification').hide();
					if (json['error']) {
						if (json['error']['stock']) {
							form.find('.j2stock').after('<span class="j2error">' + json['error']['stock'] + '</span>');
						}
						if (json['error']['product']) {
							form.find('.j2product').after('<span class="j2error">' + json['error']['product'] + '</span>');
						}
						if (json['error']['option']) {
							//check wheather layout enables option
							//if show product option is diabled and having error then else statement will be executed
							if(redirect){
								for (i in json['error']['option']) {
									form.find('#option-' + i).after('<span class="j2error">' + json['error']['option'][i] + '</span>');
								}
							}else{
								//will redirect to detailed page
								window.location = json['redirect'];
							}
				}
			}
			//just ot display success msg
			if (json['success']) {
				doMiniCart();
				form.find("#addtoCartBtn").attr('value','加入购物车');
				$(".checkout-link").hide();
				form.find(".checkout-link").show();
				window.location.href='/cart.html';

				}
			},
			complete:function (){
					form.find("#addtoCartBtn").attr('value',layoutCartText);
		    	 }
				});
			});
		});
	});
})(j2store.jQuery);

</script>
