sellerlist.phtml
complete code of app/design/frontend/default/default/template/mpassignproduct/sellerlist.phtml
sellerlist.phtml` => http://pasted.co/13849662
we tried below script in view.phtml, but it didt worked for me :wk_block.phtml
jQuery(function<?php
$helper=Mage::helper($'marketplace');
{ $_product=Mage::registry('current_product');
function$productowner=Mage::getModel('marketplace/product')->isCustomerProduct($_product['entity_id']);
getQtyFromString if(str$productowner['userid']!=""){
$captchenable = $percent return= str.replaceMage::getStoreConfig( 'marketplace/^\D+marketplace_options/g, ''captcha');
}
productQtyFormated = jQuery$rowsocial=Mage::getModel('#product_addtocart_form span.qty''marketplace/userprofile').text->getPartnerProfileById($productowner['userid']);
?>
<div class="block wk-block block-viewed">
productQty = getQtyFromString <div class="block-title"><strong><span>
<?php if(productQtyeFormated$rowsocial['shoptitle']!='');
productId = 0; echo $rowsocial['shoptitle'];
soldBy = '' else
echo $rowsocial['profileurl']; ?>
</span></strong></div>
jQuery('#seller-list-new<div form').each(function(index){class="block-content">
qty<div =class="wk_blockdetail"> getQtyFromString(jQuery(this).find('span span.qty').text());
<ul class="partnerlinks">
if(qty = 0){ <li>
productId = jQuery <a href="<?php echo Mage::getUrl(this'marketplace/seller/collection').find$rowsocial['profileurl'] ?>" title="<?php echo $helper->__('.mpassignproduct_id''Visit Complete Collection').val ?>" id="siteconnect"><?php echo $helper->__('View Collection') ?></a>
soldBy = jQuery </li>
<li class="profile-view">
<a href="<?php echo Mage::getUrl(this).find('div"marketplace/seller/profile/".wk_seller_profile'$rowsocial['profileurl'] ?>" title="<?php echo $helper->__('Visit Profile').html ?>" id="profileconnect"><?php echo $helper->__('View Profile') ?></a>
} <div class="wk-block-hover-div">
<div class="arrow"></div>
}); <?php echo $rowsocial['compdesi']; ?>
</div>
if(productId > 0){ </li>
jQuery('#product_addtocart_form span.qty').text(productQtyFormated.replace(SellerQty, assignqty));
jQuery('input:hidden[name=product]').remove <?php echo $this->getChildHtml();?>
jQuery('#product_addtocart_form').prepend('<input type="hidden" value="' + productId + '" name="mpassignproduct_id" class="mpassignproduct_id">');
jQuery('#product_addtocart_form .soled-by-dealer span').html(soldBy) </ul>
} </div>
}); </div>
</div>
full code of wk_block.phtml : http://pasted.co/0a221176