Developer forum

Forum » Development » Add total quantity in Favorites products list in Customer center

Add total quantity in Favorites products list in Customer center

Dmitrij Jazel
Reply

Hej Guys,

I am working with Customer center here.

And when I am in Wishlist.

I have a list of all products added to my Wishlist.

From here - I have possibility to Add product to cart (via link) or Remove from favorites.

So far I have a possibility to add only one product into the cart. if I click once.

My question is:

Can I somehow add multiple quantity of products - in other words add a textbox with total products to add?

 

Regards,

Dmitrij

 

This is my code so far:

<div class="container">	

    <div class="nav-head"><strong>Go to:</strong></div>
    <!--@Ecom:CustomerCenter.Menu-->
    													
    <div class="selected-products">
    <h2>Favorites</h2>
			
        
    <!--@LoopStart(FavoriteList)-->
	<!--@EmptyLoopStart-->No products added to favoriteslist...<!--@EmptyLoopEnd-->
	<!--@HeaderStart-->
	<table cellpadding="4" cellspacing="0" border="0" width="100%">
	<colgroup>
		<col />
        <col width="120px" align="right"/>
		<col width="80px" align="right" />
		<col width="120px" align="right" />
	</colgroup>		
	<!--@HeaderEnd-->
	<tr>
        <td><a href="<!--@Ecom:Product.Link.Clean-->"><!--@Ecom:Product.Name--></a></td>
        <td>Total:<!-- -- !!!ADD TEXTBOX HERE!!! -- --></td>
		<td>
            <div style="display:none;">
			    <!--@Ecom:Product.Form-->
            </div>
            
			<a href="javascript: void(0);" onclick="javascript:document.getElementById('<!--@Ecom:Product.ID-->').submit();">Add to cart</a>
		</td>
		<td><a href="<!--@Ecom:Product.RemoveFromFavorites-->">Remove from list</a></td>
	</tr>
	<!--@FooterStart-->
	</table>
	<!--@FooterEnd-->
<!--@LoopEnd(FavoriteList)-->			
    </div>
			
</div>

 

 


Replies

 
Nicolai Høeg Pedersen
Reply

See 7.2.2 Adding multiple products in chapter 7 of the eCommerce book.

 

http://developer.dynamicweb-cms.com/documentation/books/dynamicweb-ecommerce-8.aspx

 

You must be logged in to post in the forum