Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- <div class = "wk_cont_ul">
- <div id="horizontalmenu">
- <ul class ="mymenu">
- <li><a href="#">Listings</a>
- <ul>
- <li><a href="<?php echo Mage::getUrl('marketplace/marketplaceaccount/new/'); ?>">New Products</a></li> <li><a href="<?php echo Mage::getUrl('marketplace/marketplaceaccount/myproductslist/'); ?>">My product list</a></li> <li><a href="#">Assign product</a></li> <li><a href="#">Assign List</a></li> </ul>
- </li> <li> <a href="#">Orders</a> <ul> <li><a href="#">IT/Software</a></li> <li><a href="#">Hardware</a></li> <li><a href="#">Iphone</a></li> <li><a href="#">Neuro-Science</a></li> </ul>
- </li>
- <li> <a href="#">Returns</a>
- <ul> <li><a href="#">Cricket</a></li> <li><a href="#">Tenis</a></li> <li><a href="#">Badminton</a></li> <li><a href="#">Hockey</a></li> </ul> </li>
- </ul>
- </div>
- <br/><br/>
- </div>
- -->
- <?php
- $isPartner= Mage::getModel('marketplace/userprofile')->isPartner();
- $helper= Mage::helper('marketplace');
- if($isPartner==1){
- ?>
- <script type="text/javascript">
- if (typeof jQuery == 'undefined'){
- document.write(unescape("%3Cscript src='//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
- }
- </script>
- <script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
- <link rel="stylesheet" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
- <div class="page-title">
- <h1 style="float:left;"><?php echo $helper->__('My Product List') ?></h1>
- </div>
- <div class="wk_mp_design">
- <div class="block block-account">
- <div class="block-title">
- <strong><span><h4><?php echo $helper->__('Product List') ?></h4></span></strong>
- </div>
- </div>
- <div class="fieldset wk_mp_fieldset">
- <div class="grid">
- <div class="hor-scroll">
- <form action="<?php echo Mage::helper('core/url')->getCurrentUrl();?>" method="post">
- <h6 class="mplist"> My Product List </h6>
- <table cellspacing="0" class="border wk_mp_list_table">
- <thead>
- <tr id="wk_mp_tr_heading">
- <th><span><?php echo $helper->__('Product Name') ?></span></th>
- <th><span><?php echo $helper->__('Date') ?></span></th>
- <th><span><?php echo $helper->__('Product Status') ?></span></th>
- <th><span> </span></th>
- </tr>
- </thead>
- <tbody class="wk_mp_body">
- <tr>
- <td>
- <input type="text" class="input-text" name="s" placeholder='<?php echo $helper->__('Search by product name') ?>' value="<?php echo $this->getRequest()->getParam('s')?>"/>
- </td>
- <td>
- <span class="wk_mp_td_span">
- <?php echo $helper->__('') ?>
- <input name="from_date" id="special_from_date" class="input-text" value="<?php echo $this->getRequest()->getParam('from_date')?>" placeholder='<?php echo $helper->__('From:') ?>'/>
- </span>
- <span class="wk_mp_td_span">
- <?php echo $helper->__('') ?>
- <input name="to_date" id="special_to_date" class="input-text" value="<?php echo $this->getRequest()->getParam('to_date')?>" placeholder='<?php echo $helper->__('To:') ?>'/>
- </span>
- </td>
- <td>
- <select name="prostatus" class="input-text" style="height:35px;">
- <option value=""><?php echo $helper->__('All') ?></option>
- <option value="1" <?php if($this->getRequest()->getParam('prostatus') == 1) echo 'selected="selected"'?>>
- <?php echo $helper->__('Approved') ?>
- </option>
- <option value="2" <?php if($this->getRequest()->getParam('prostatus') == 2) echo 'selected="selected"'?>>
- <?php echo $helper->__('Unapproved') ?>
- </option>
- </select>
- </td>
- <td>
- <button class="button" title="Save" type="submit" style="background:#fc6c0b;" id="save_btn">
- <span><span><span><?php echo $helper->__('Submit') ?></span></span></span>
- </button>
- </td>
- </tr>
- </tbody>
- </table>
- </form>
- <?php
- if(count($this->getCollection())==0){ ?>
- <div class="fieldset wk_mp_fieldset">
- <div class="wk_emptymsg">
- <?php echo $helper->__('No Product Available') ?>
- </div>
- </div>
- <?php
- } else{ ?>
- <form action="<?php echo $this->getUrl('marketplace/marketplaceaccount/massdeletesellerpro') ?>" method="post" id="formmassdelete" name="formmassdelete">
- <!--
- <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
- <button class="button" title="<?php echo $helper->__('Delete Products') ?>" type="submit" style="float: left;padding: 5px 5px 5px 0;" id="mass_delete_butn">
- <span><span><?php echo $helper->__('Delete Products') ?></span></span>
- </button>
- -->
- <!--
- <button class="button" title="<?php echo $helper->__('Update Products') ?>" type="button" style="float: left;padding: 5px 5px 5px 0;" onclick="changeaction()" id="mass_update_butn">
- <span><span><?php echo $helper->__('Update Products') ?></span></span>
- </button>
- -->
- <script type=text/javascript>
- function changeaction() {
- document.getElementById('formmassdelete').action = "<?php echo $this->getUrl('marketplace/marketplaceaccount/massupdatesellerpro') ?>";
- document.getElementById('formmassdelete').submit();
- }
- </script>
- <table cellspacing="0" class="border wk_mp_list_table wk_mp_list_container_table">
- <thead>
- <tr class="wk_content">
- <th class="wk_check_first_td">
- <span>
- <input type="checkbox" name="mpselecctall" value="all" id="mpselecctall"/>
- </span>
- </th>
- <th class="wk_first_td">
- <span class="label name" style="position:relative; bottom:15px; color:#000000; font-size:14px;font-weight:bold;">
- <?php echo $helper->__('Product')?>
- </span>
- </th>
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('SKU')?>
- </span>
- </th>
- <!--
- <th>
- <span class="label pro_status">
- <?php echo $helper->__('Status')?>
- </span>
- </th>
- -->
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('MRP')?>
- </span>
- </th>
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('Special Price')?>
- </span>
- </th>
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('Local')?>
- </span>
- </th>
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('Regional')?>
- </span>
- </th>
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('State')?>
- </span>
- </th>
- <!--
- <th>
- <span class="label qty">
- <?php echo $helper->__('Qty. Confirmed')?>
- </span>
- </th>
- <th>
- <span class="label qty">
- <?php echo $helper->__('Qty. Pending')?>
- </span>
- </th>
- <th>
- <span class="label qty">
- <?php echo $helper->__('Qty. Sold')?>
- </span>
- </th>
- -->
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('Qty')?>
- </span>
- </th>
- <!--
- <th>
- <span class="label" style ="color:#000000; font-size:14px; font-weight:bold;">
- <?php echo $helper->__('COD')?>
- </span>
- </th>
- -->
- <!--
- <th>
- <span class="label">
- <?php echo $helper->__('Earn Amount')?>
- </span>
- </th>
- -->
- <th>
- <span class="label">
- <button class="saveall" title="<?php echo $helper->__('Save all') ?>" type="button" onclick="changeaction()" id="mass_update_butn" style="background:#3fbdf7;">
- <span><span style="font-size:14px;"><?php echo $helper->__('Save all') ?></span></span>
- </button>
- </span>
- </th>
- <th>
- <span class="label">
- <?php echo $helper->__('action')?>
- </span>
- </th>
- </tr>
- </thead>
- <tbody>
- <?php
- $i = 0;$j=1;
- foreach($this->getCollection() as $products){
- $pro=Mage::getModel('catalog/product')->load($products->getEntityId());
- $j=$j+1;
- //echo "<pre>";
- //print_r($pro->getData());
- //echo 'qty:'.$pro->getStockItem()->getQty();
- //echo $pro->getCod();
- $i++;
- $productMediaConfig = Mage::getModel('catalog/product_media_config');
- $salesdetail=Mage::getModel('marketplace/saleslist')->getSalesdetail($products->getEntityId());
- ?>
- <tr class="wk_row_view <?php echo $class = ($i == count($this->getCollection()))? 'wk_last_tr':''?>">
- <td class="wk_check_first_td">
- <span>
- <input type="checkbox" name="product_mass_delete[]" class="mpcheckbox" value="<?php echo $products->getEntityId(); ?>"/>
- <input type="hidden" name="product_mass_update[]" value="<?php echo $products->getEntityId(); ?>"/>
- </span>
- </td>
- <td class="wk_first_td">
- <input type="hidden" class="hidden_id" value="<?php echo $products->getEntityId(); ?>" />
- <div class="label name" title="<?php echo $products->getName(); ?>">
- <div class="wk_pro_divide1">
- <img src="<?php echo Mage::helper('catalog/image')->init($products,'thumbnail');?>" class="image" />
- </div>
- <div class="wk_pro_divide2">
- <div style="width:100%;">
- <a href="<?php echo $this->getUrl($products->getUrlPath())?>" target="blank">
- <?php echo $products->getName();?>
- </a>
- </div>
- </div>
- </div>
- </td>
- <td class ="skuam">
- <?php echo $sku = Mage::getModel('catalog/product')->load($products->getId())->getSku();?>
- </td>
- <?php
- if($products->getStatus()==2) { ?>
- <td>
- <span class="label pro_status">
- <?php echo $helper->__('Pending')?>
- </span>
- </td>
- <td>
- <span class="label qty">
- <?php echo $helper->__('Pending')?>
- </span>
- </td>
- <td>
- <span class="label qty">
- <?php echo $helper->__('Pending')?>
- </span>
- </td>
- <td>
- <span class="label qty">
- <?php echo $helper->__('Pending')?>
- </span>
- </td>
- <td>
- <span class="label qty">
- <?php echo $helper->__('Pending')?>
- </span>
- </td>
- <?php }
- else{
- $id=$products->getId();
- $productsolddetail=Mage::getModel('marketplace/saleslist')->getProductSalesDetailById($id);
- $qtycom=0;
- $com=0;
- foreach($productsolddetail as $key){
- $qtycom+=$key['magequantity'];
- $com+=$key['actualparterprocost'];
- } ?>
- <!--
- <td>
- <span class="label pro_status">
- <?php echo $helper->__('Approved')?>
- </span>
- </td>
- -->
- <!-- price -->
- <td>
- <input onFocus="showPriceCancel('<?php echo $products->getId(); ?>');"
- class="ama1" type = "text"
- id = "price_<?php echo $products->getId(); ?>"
- <?php echo Mage::getModel('directory/currency')->formatTxt($products->getPrice(),
- array('display' => Zend_Currency::NO_SYMBOL)); ?>
- onkeydown="validateNumbers(event)" name= "price[]"
- value = "<?php echo Mage::getModel('directory/currency')->formatTxt($products->getPrice(), array('display' => Zend_Currency::NO_SYMBOL)); ?>" style = ""/>
- <input type="hidden" name="curr_<?php echo $products->getId(); ?>" id="curr_<?php echo $products->getId(); ?>"
- value="<?php echo Mage::getModel('directory/currency')->formatTxt($products->getPrice(), array('display' => Zend_Currency::NO_SYMBOL)); ?>" />
- <p id="updatedprice_<?php echo $products->getId(); ?>" style = "display:none;color:red; position:relative; top:16px;">Updated</p>
- <br/>
- <button style="display:none;" id="price_reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideResetPrice('<?php echo $products->getId(); ?>','<?php echo $products->getPrice(); ?>'); return false;">
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- </span>
- </td>
- <!-- price end -->
- <!-- SP start -->
- <td>
- <input onFocus="showSpecialPriceCancel('<?php echo $products->getId(); ?>');" class="ama1" type = "text" id = "specialprice_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name = "specialprice[]" value = "<?php echo $products->getSpecialPrice(); ?>" style = ""/>
- <input type="hidden" name="specialcurr_<?php echo $products->getId(); ?>" id="specialcurr_<?php echo $products->getId(); ?>" value="<?php echo $products->getSpecialPrice(); ?>" />
- <p id="updatedspecialprice_<?php echo $products->getId(); ?>" style = "display:none;color:red; position:relative; top:16px;">Updated</p>
- <br/>
- <button style="display:none;" id="specialprice_reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideResetSpecialPrice('<?php echo $products->getId(); ?>'); return false;" >
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- </td>
- <!-- SP end-->
- <!-- local code-->
- <td>
- <?php $attribute = $products->getResource()->getAttribute('mp_local_shipping_charge');?>
- <?php if($attribute):?>
- <?php $attribute_value = $attribute ->getFrontend()->getValue($products); ?>
- <input onFocus="showLocalCancel('<?php echo $products->getId(); ?>');" class="ama1" type = "text" id = "local_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name= "local[]" value = "<?php echo $attribute_value; ?>" style = ""/>
- <?php endif; ?>
- <input type="hidden" name="curr_<?php echo $products->getId(); ?>" id="curr_<?php echo $products->getId(); ?>" value="<?php echo $products->getLocal(); ?>" />
- <p id="updatedlocal_<?php echo $products->getId(); ?>" style = "display:none;color:red; position:relative; top:16px;">Updated</p>
- <br/>
- <button style="display:none;" id="local_reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideResetLocal('<?php echo $products->getId(); ?>','<?php echo $attribute_value; ?>'); return false;">
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- </span>
- </td>
- <!-- local end-->
- <!-- Regional code -->
- <td>
- <?php $attribute = $products->getResource()->getAttribute('mp_regional_shipping_charge');?>
- <?php if($attribute):?>
- <?php $attribute_value = $attribute ->getFrontend()->getValue($products); ?>
- <input onFocus="showRegionalCancel('<?php echo $products->getId(); ?>');" class="ama1" type = "text" id = "regional_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name= "regional[]" value = "<?php echo $attribute_value; ?>" style = ""/>
- <?php endif; ?>
- <input type="hidden" name="regionalcurr_<?php echo $products->getId(); ?>" id="regionalcurr_<?php echo $products->getId(); ?>" value="<?php echo $products->getRegional(); ?>" />
- <p id="updatedregional_<?php echo $products->getId(); ?>" style = "display:none;color:red; position:relative; top:16px;">Updated</p>
- <br/>
- <button style="display:none;" id="regional_reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideResetRegional('<?php echo $products->getId(); ?>','<?php echo $products->getPrice(); ?>'); return false;">
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- </span>
- </td>
- <!-- Regional end -->
- <!-- State code -->
- <td>
- <?php $attribute = $products->getResource()->getAttribute('mp_state_shipping_charge');?>
- <?php if($attribute):?>
- <?php $attribute_value = $attribute ->getFrontend()->getValue($products); ?>
- <input onFocus="showStateCancel('<?php echo $products->getId(); ?>');" class="ama1" type = "text" id = "state_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name= "state[]" value = "<?php echo $attribute_value; ?>" style = ""/>
- <?php endif; ?>
- <input type="hidden" name="statecurr_<?php echo $products->getId(); ?>" id="statecurr_<?php echo $products->getId(); ?>" value="<?php echo $products->getState(); ?>" />
- <p id="updatedstate_<?php echo $products->getId(); ?>" style = "display:none;color:red; position:relative; top:16px;">Updated</p>
- <br/>
- <button style="display:none;" id="state_reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideResetState('<?php echo $products->getId(); ?>','<?php echo $products->getPrice(); ?>'); return false;">
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- </span>
- </td>
- <!-- state end -->
- <!-- qty 2 -->
- <td>
- <?php
- $selllermpassignproduct=Mage::getModel('mpassignproduct/mpassignproduct')->getAssignProDetails($products->getId());
- //Zend_Debug::dump($selllermpassignproduct,null,true);
- $stock_item=Mage::getModel('cataloginventory/stock_item')->loadByProduct($products);
- $SellerQty=isset($selllermpassignproduct['sellerqty'])?$selllermpassignproduct['sellerqty']:
- $stock_item->getQty();
- $assignqty=isset($selllermpassignproduct['assignqty'])?$selllermpassignproduct['assignqty']:0;
- ?>
- <input onFocus="showQtyCancel('<?php echo $products->getId(); ?>');" type = "text" id = "qty_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name = "stock<?php echo $j ?>" class="ama1" value = "<?php echo (int) $SellerQty; ?>" />
- <span class="label wk_action" id="edit_link_<?php echo $products->getId(); ?>">
- <!-- <img onclick="showField('<?php echo $products->getId(); ?>'); return false;" src="<?php echo $this->getSkinUrl('marketplace/images/icon-edit.png'); ?>"/> -->
- </span>
- <p id="updatedqty_<?php echo $products->getId(); ?>" style = "display:none;color:red;">Updated</p>
- <br/>
- <button id="update_button_<?php echo $products->getId(); ?>" class="buttons" onclick="updateField('<?php echo $products->getId(); ?>',<?php echo $assignqty;?>); return false;" style="display:none" >
- <span><span style="font-size:12px;"><?php echo $helper->__('Update') ?></span></span>
- </button>
- <button style="display:none;" id="reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideReset('<?php echo $products->getId(); ?>'); return false;" >
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- <!-- qty 2 -->
- <!-- cod 2
- <td>
- <?php $attribute = $products->getResource()->getAttribute('cod_available');?>
- <?php if($attribute):?>
- <?php $attribute_value = $attribute ->getFrontend()->getValue($products); ?>
- <select id = "cod_<?php echo $products->getId(); ?>" name= "cod[]" >
- <option value="0" <?php if($pro->getCodAvailable()==0) { echo "selected";} ?>>No</option>
- <option value="1"<?php if($pro->getCodAvailable()==1) { echo "selected";} ?>>Yes</option>
- </select>
- <?php endif; ?>
- <input type="hidden" name="codcurr_<?php echo $products->getId(); ?>" id="codcurr_<?php echo $products->getId(); ?>" value="<?php echo $products->getCod(); ?>" />
- <p id="updatedcod_<?php echo $products->getId(); ?>" style = "display:none;color:red; position:relative; top:16px;">Updated</p>
- <br/>
- <button id="cod_reset_button_<?php echo $products->getId(); ?>" type="reset" class="cancel" onclick="hideResetCod('<?php echo $products->getId(); ?>','<?php echo $products->getPrice(); ?>'); return false;">
- <span><span><?php echo $helper->__('Cancel') ?></span></span>
- </button>
- </span>
- </td>
- cod 2 end-->
- <!--
- <td>
- <span class="label qty">
- <?php echo $salesdetail['quantitysoldconfirmed']; ?>
- </span>
- </td>
- <td>
- <span class="label qty">
- <?php echo $salesdetail['quantitysoldpending']; ?>
- </span>
- </td>
- <td>
- <span class="label qty">
- <a href="<?php echo $this->getUrl('mpshippingmanager/shipping/salesdetail/')."id/".$products->getId(); ?>"><?php echo $salesdetail['quantitysold']; ?></a>
- </span>
- </td>
- -->
- <!--
- <span class="label price">
- <?php echo Mage::helper('core')->currency($salesdetail['amountearned'], true, false); ?>
- </span>
- </td>
- -->
- <!-- single row
- <td>
- <button id="update_button_<?php echo $products->getId(); ?>" class="button wk_mp_btn1" onclick="updateAllFields('<?php echo $products->getId(); ?>'); return false;" type="button" >
- <span><span style="font-size:12px;"><?php echo $helper->__('Update') ?></span></span>
- </button>
- </td>
- single row -->
- <!-- mass update -->
- <td>
- <button class="button" title="<?php echo $helper->__('Update') ?>" type="button" style="float: left;padding: 5px 5px 5px 0;" onclick="changeaction()" id="mass_update_butn">
- <span><span><?php echo $helper->__('update') ?></span></span>
- </button>
- </td>
- <!-- mass updae end -->
- <?php
- }?>
- <td colspan="3">
- <span class="label wk_action">
- <img src="<?php echo $this->getSkinUrl('marketplace/images/icon-edit.png'); ?>" data-type="<?php echo $products->getTypeId(); ?>" alt="<?php echo $helper->__('Edit')?>" title="<?php echo $helper->__('Edit')?>" class="mp_edit"/>
- <img src="<?php echo $this->getSkinUrl('marketplace/images/icon-trash.png'); ?>" alt="<?php echo $helper->__('Delete')?>" title="<?php echo $helper->__('Delete')?>" class="mp_delete"/>
- </span>
- </td>
- </tr>
- <?php
- }?>
- </tbody>
- </table>
- </form>
- <?php
- }?>
- </div>
- </div>
- <?php echo $this->getPagerHtml(); ?>
- </div>
- <div class="buttons-set">
- <p class="back-link">
- <a href="javascript:;" onclick="javascript: window.history.back();" class="left">« <?php echo $helper->__('Back') ?></a>
- </p>
- </div>
- </div>
- <!-- edit qty start 2-->
- <?php $url = Mage::getUrl('module_name/index/updateField/'); ?>
- <?php $url = Mage::getUrl('marketplaceaccountcontroller/index/updateField/'); ?>
- <!-- validation start -->
- <script type = "text/javascript" >
- function showPriceCancel(p) {
- jQuery('#price_reset_button_'+p).css('display','block');
- };
- function showSpecialPriceCancel(p) {
- jQuery('#specialprice_reset_button_'+p).css('display','block');
- };
- function showLocalCancel(p) {
- jQuery('#local_reset_button_'+p).css('display','block');
- };
- function showRegionalCancel(p) {
- jQuery('#regional_reset_button_'+p).css('display','block');
- };
- function showStateCancel(p) {
- jQuery('#state_reset_button_'+p).css('display','block');
- };
- function showQtyCancel(p) {
- jQuery('#reset_button_'+p).css('display','block');
- };
- function validateNumbers(e) {
- //var key = '#keyinput_'+ product_id;
- //var e = jQuery(key);
- if (jQuery.inArray(e.keyCode, [46, 8, 9, 27, 13, 110, 190]) !== -1 ||
- // Allow: Ctrl+A, Command+A
- (e.keyCode == 65 && ( e.ctrlKey === true || e.metaKey === true ) ) ||
- // Allow: home, end, left, right, down, up
- (e.keyCode >= 35 && e.keyCode <= 40)) {
- // let it happen, don't do anything
- return;
- }
- // Ensure that it is a number and stop the keypress
- if ((e.shiftKey || (e.keyCode < 48 || e.keyCode > 57)) && (e.keyCode < 96 || e.keyCode > 105)) {
- e.preventDefault();
- }
- }
- var $wk_jq = jQuery.noConflict();
- <!-- validation end -->
- <!-- Qty and validation start -->
- function hideReset(product_id) {
- var qtyId='#qty_'+ product_id;
- var currqty='#curr_'+ product_id;
- var editLink="#edit_link_"+ product_id;
- var updateButton="#update_button_"+ product_id;
- var valueqty="#valueqty_"+ product_id;
- var resetButton="#reset_button_"+ product_id;
- $wk_jq(resetButton).hide();
- // $wk_jq(qtyId).hide();
- // $wk_jq(updateButton).hide();
- $wk_jq(valueqty).show();
- $wk_jq(qtyId).val( $wk_jq(currqty).val());
- $wk_jq(editLink).show();
- }
- function updateField(product_id,assignqty)
- {
- var qtyId = '#qty_'+ product_id;
- var valueId = '#valueqty_'+ product_id;
- var updatedqty = '#updatedqty_'+ product_id;
- var editLink = "#edit_link_"+ product_id;
- var updateButton = "#update_button_"+ product_id;
- var resetButton = "#reset_button"+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateField/')?>';
- //$wk_jq(qtyId).toggle()
- $wk_jq(editLink).hide();
- //$wk_jq(updateButton).show();
- $wk_jq(resetButton).show();
- $qty = $wk_jq(qtyId).val();
- jQuery(valueId).html($qty);
- //hideReset(product_id);
- var tmpQty=parseInt(assignqty)+ parseInt($qty) ;
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, qty: $qty},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(priceId).val($price);
- // $wk_jq(priceId).setValue($price);
- //jQuery(updatedqty).show().delay(2000).fadeOut();
- $updateButton.prop('disabled', false);
- // $wk_jq(qtyId).setValue($qty);
- }
- });
- }
- <!-- Qty and validation end -->
- <!-- price start-->
- function hideResetPrice(product_id,priceold) {
- var qtyId='#price_'+ product_id;
- var currprice='#curr_'+ product_id;
- var editLink="#price_edit_link_"+ product_id;
- var updateButton="#price_update_button_"+ product_id;
- var valueprice="#valueprice_"+ product_id;
- var resetButton="#price_reset_button_"+ product_id;
- $wk_jq(resetButton).hide();
- $wk_jq(valueprice).show();
- $wk_jq(qtyId).val( $wk_jq(currprice).val());
- $wk_jq(editLink).show();
- }
- function updateFieldPrice(product_id)
- {
- var priceId = '#price_'+ product_id;
- var currprice='#curr_'+ product_id;
- var updatedqty = '#updatedprice_'+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateFieldPrice/')?>';
- $price = $wk_jq(priceId).val();
- $wk_jq(currprice).val($price);
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, price: $price},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(updatedqty).show().delay(2000).fadeOut();
- }
- });
- }
- <!-- price end -->
- <!-- SP start -->
- function hideResetSpecialPrice(product_id,priceold) {
- var qtyId='#specialprice_'+ product_id;
- var currspecialprice='#specialcurr_'+ product_id;
- var editLink="#specialprice_edit_link_"+ product_id;
- var updateButton="#specialprice_update_button_"+ product_id;
- var valuespecialprice="#valuespecialprice_"+ product_id;
- var resetButton="#specialprice_reset_button_"+ product_id;
- $wk_jq(resetButton).hide();
- $wk_jq(valuespecialprice).show();
- $wk_jq(qtyId).val( $wk_jq(currspecialprice).val());
- $wk_jq(editLink).show();
- }
- function updateFieldSpecialPrice(product_id)
- {
- var priceId = '#specialprice_'+ product_id;
- var currspecialprice='#specialcurr_'+ product_id;
- var updatedqty = '#updatedspecialprice_'+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateFieldSpecialPrice/')?>';
- $price = $wk_jq(priceId).val();
- $wk_jq(currspecialprice).val($price);
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, price: $price},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(updatedqty).show().delay(2000).fadeOut();
- }
- });
- }
- <!-- SP end -->
- <!-- local code -->
- function hideResetLocal(product_id,localold) {
- var qtyId='#local_'+ product_id;
- var currlocal='#curr_'+ product_id;
- var editLink="#local_edit_link_"+ product_id;
- var updateButton="#local_update_button_"+ product_id;
- var valuelocal="#valuelocal_"+ product_id;
- var resetButton="#local_reset_button_"+ product_id;
- $wk_jq(resetButton).hide();
- $wk_jq(valuelocal).show();
- $wk_jq(qtyId).val( $wk_jq(currlocal).val());
- $wk_jq(editLink).show();
- }
- function updateFieldLocal(product_id)
- {
- var localId = '#local_'+ product_id;
- var currlocal='#localcurr_'+ product_id;
- var updatedqty = '#updatedlocal_'+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateFieldLocal/')?>';
- $local = $wk_jq(localId).val();
- $wk_jq(currlocal).val($local);
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, local: $local},
- //parameters: {id: product_id, local: $local},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(updatedqty).show().delay(2000).fadeOut();
- }
- });
- }
- <!-- local end -->
- <!-- Regional code -->
- function hideResetRegional(product_id,regionalold) {
- var qtyId='#regional_'+ product_id;
- var currregional='#curr_'+ product_id;
- var editLink="#regional_edit_link_"+ product_id;
- var updateButton="#regional_update_button_"+ product_id;
- var valueregional="#valueregional_"+ product_id;
- var resetButton="#regional_reset_button_"+ product_id;
- $wk_jq(resetButton).hide();
- $wk_jq(valueregional).show();
- $wk_jq(qtyId).val( $wk_jq(currregional).val());
- $wk_jq(editLink).show();
- }
- function updateFieldRegional(product_id)
- {
- var regionalId = '#regional_'+ product_id;
- var currregional='#regionalcurr_'+ product_id;
- var updatedqty = '#updatedregional_'+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateFieldRegional/')?>';
- $regional = $wk_jq(regionalId).val();
- $wk_jq(currregional).val($regional);
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, regional: $regional},
- //parameters: {id: product_id, regional: $regional},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(updatedqty).show().delay(2000).fadeOut();
- }
- });
- }
- <!-- Regional end -->
- <!-- state code -->
- function hideResetState(product_id,stateold) {
- var qtyId='#state_'+ product_id;
- var currstate='#curr_'+ product_id;
- var editLink="#state_edit_link_"+ product_id;
- var updateButton="#state_update_button_"+ product_id;
- var valuestate="#valuestate_"+ product_id;
- var resetButton="#state_reset_button_"+ product_id;
- $wk_jq(resetButton).hide();
- $wk_jq(valuestate).show();
- $wk_jq(qtyId).val( $wk_jq(currstate).val());
- $wk_jq(editLink).show();
- }
- function updateFieldState(product_id)
- {
- var stateId = '#state_'+ product_id;
- var currstate='#statecurr_'+ product_id;
- var updatedqty = '#updatedstate_'+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateFieldState/')?>';
- $state = $wk_jq(stateId).val();
- $wk_jq(currstate).val($state);
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, state: $state},
- //parameters: {id: product_id, state: $state},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(updatedqty).show().delay(2000).fadeOut();
- }
- });
- }
- <!-- state code end -->
- <!-- cod 2 -->
- function hideResetCod(product_id,codold) {
- var qtyId='#cod_'+ product_id;
- var currcod='#codcurr_'+ product_id;
- var editLink="#cod_edit_link_"+ product_id;
- var updateButton="#cod_update_button_"+ product_id;
- var valuecod="#valuecod_"+ product_id;
- var resetButton="#cod_reset_button_"+ product_id;
- $wk_jq(valuecod).show();
- $wk_jq(qtyId).val( $wk_jq(currcod).val());
- $wk_jq(editLink).show();
- }
- function updateFieldCod(product_id)
- {
- var codId = '#cod_'+ product_id;
- var currcod='#codcurr_'+ product_id;
- var updatedqty = '#updatedcod_'+ product_id;
- var url ='<?php echo Mage::getUrl('marketplace/marketplaceaccount/updateFieldCod/')?>';
- $cod = $wk_jq(codId).val();
- $currcod = $wk_jq(codId).val();
- if($cod!=$currcod) {
- $wk_jq(currcod).val($cod);
- new Ajax.Request(url, {
- method: 'post',
- parameters: {id: product_id, cod: $cod},
- //parameters: {id: product_id, cod: $cod},
- onComplete: function (transport) {
- //alert(transport.responseText);
- jQuery(updatedqty).show().delay(2000).fadeOut();
- }
- });
- }
- }
- <!-- cod end -->
- </script>
- <!-- webkul code start -->
- <script>
- var $wk_jq=jQuery.noConflict();
- var newCustomerProductForm1 = new VarienForm('formmassdelete', true);
- (function($wk_jq){
- $wk_jq( "#special_from_date" ).datepicker({dateFormat: "yy-mm-dd"});
- $wk_jq( "#special_to_date" ).datepicker({dateFormat: "yy-mm-dd"});
- $wk_jq('body').delegate('.mp_edit','click',function(){
- var id=$wk_jq(this).parents('.wk_row_view').find('.hidden_id').val();
- var dicision=confirm('<?php echo $helper->__(" Are you sure you want to edit this product ? ")?>');
- if(dicision==true){
- var $type_id=$wk_jq(this).attr('data-type');
- if($type_id=='simple')
- window.location = "<?php echo $this->getUrl('marketplace/marketplaceaccount/editapprovedsimple/') ?>".concat("id/",id);
- if($type_id=='downloadable')
- window.location = "<?php echo $this->getUrl('marketplace/marketplaceaccount/editapproveddownloadable/') ?>".concat("id/",id);
- if($type_id=='virtual')
- window.location = "<?php echo $this->getUrl('marketplace/marketplaceaccount/editapprovedvirtual/') ?>".concat("id/",id);
- if($type_id=='configurable')
- window.location = "<?php echo $this->getUrl('marketplace/marketplaceaccount/editapprovedconfigurable/') ?>".concat("id/",id);
- if($type_id=='grouped')
- window.location = "<?php echo $this->getUrl('mpgroupproduct/index/editapprovedgrouped/') ?>".concat("id/",id);
- <?php
- //echo $this->getChildHtml('mpgrouped_productslist');
- // echo $this->getChildHtml('mpbundle_productslist');
- ?>
- if($type_id=='bundle')
- window.location = "<?php echo $this->getUrl('mpbundleproduct/index/editbundle/') ?>".concat("id/",id);
- }
- });
- $wk_jq('#mass_delete_butn').click(function(e){
- var flag =0;
- $wk_jq('.mpcheckbox').each(function(){
- if (this.checked == true){
- flag =1;
- }
- });
- if (flag == 0){
- alert("<?php echo $helper->__(' No Checkbox is checked ') ?>");
- return false;
- }
- else{
- var dicisionapp=confirm('<?php echo $helper->__(" Are you sure you want to delete these product ? ")?>');
- if(dicisionapp==true){
- $wk_jq('#form-customer-product-new').submit();
- }else{
- return false;
- }
- }
- });
- $wk_jq('#mpselecctall').click(function(event) {
- if(this.checked) {
- $wk_jq('.mpcheckbox').each(function() {
- this.checked = true;
- });
- }else{
- $wk_jq('.mpcheckbox').each(function() {
- this.checked = false;
- });
- }
- });
- $wk_jq('.mp_delete').click(function(){
- var id=$wk_jq(this).parents('.wk_row_view').find('.hidden_id').val();
- var dicisionapp=confirm('<?php echo $helper->__(" Are you sure you want to delete this product ? ")?>');
- if(dicisionapp==true)
- window.location = "<?php echo $this->getUrl('marketplace/marketplaceaccount/delete/') ?>".concat("id/",id);
- });
- })($wk_jq);
- </script>
- <script>
- var $wk_jq=jQuery.noConflict();
- var i=2;
- function showOtherImage(){
- var newdiv = document.createElement('div');
- newdiv.setAttribute("id","childDiv"+i);
- newdiv.innerHTML = "<input type='file' name='images"+i+"' accept='image/\*' class='wk_imagevalidate'/><input type='radio' onClick='defaultimagevalue(this)' value='' class='defaultimage' name='defaultimage'><span class='defaultimageset'>Base image</span><a href=\"javascript:;\" onclick=\"removeEvent('childDiv"+i+"')\"><?php echo $helper->__('Remove ') ?></a>";
- var ni = document.getElementById('otherimages');
- ni.appendChild(newdiv);
- i++;
- }
- function removeEvent(divNum){
- var d = document.getElementById('otherimages');
- var olddiv = document.getElementById(divNum);
- d.removeChild(olddiv);
- i--;
- }
- function defaultimagevalue(object){
- var strs=$wk_jq(object).prev('input').val().split('\\');
- $wk_jq(object).val(strs[strs.length-1]);
- }
- (function($wk_jq){
- var newCustomerProductForm = new VarienForm('form-customer-product-editPost', true);
- $wk_jq( "#special_from_date" ).datepicker({'dateFormat':'yy:mm:dd'});
- $wk_jq( "#special_to_date" ).datepicker({'dateFormat':'yy:mm:dd'});
- $wk_jq('.wk_close').click(function(){
- $wk_jq(this).parent().remove();
- });
- $wk_jq('#save_butn').click(function(e){
- if(newCustomerProductForm.validator.validate()!=false){
- var descrip = nicEditors.findEditor( "description" ).getContent();
- var sdescrip = nicEditors.findEditor( "short_description" ).getContent();
- //var regex = /(<([^>]+)>)/ig;
- var regex = /<script(.+?)<\/script>/g;
- var result = descrip .replace(regex, "");
- result = result.replace(/script/g,'');
- nicEditors.findEditor( "description" ).setContent(result);
- var sresult = sdescrip .replace(regex, "");
- sresult = sresult.replace(/script/g,'');
- nicEditors.findEditor( "short_description" ).setContent(sresult);
- $wk_jq('#description').text(result);
- $wk_jq('#short_description').text(sresult);
- $wk_jq('#save_butn span span').text('<?php echo $helper->__(" Saving..")?>');
- $wk_jq('.button').css('opacity','0.7');
- $wk_jq('.button').css('cursor','default');
- $wk_jq('.button').attr('disabled','disabled');
- $wk_jq('#form-customer-product-editPost').submit();
- }
- });
- $wk_jq('.input-text').change(function(){
- var validt = $wk_jq(this).val();
- var regex = /(<([^>]+)>)/ig;
- var mainvald = validt .replace(regex, "");
- $wk_jq(this).val(mainvald);
- });
- $wk_jq(".dumimg").change(function(){
- $wk_jq( ".defaultimage" ).prop( "checked", false );
- });
- $wk_jq('input#sku').change(function(){
- var len=$wk_jq('input#sku').val();
- var len2=len.length;
- if(len2==0){
- alert('<?php echo $helper->__(" SKU can\'t be left empty ")?>');
- $wk_jq('div#skuavail').css('display','none');
- $wk_jq('div#skunotavail').css('display','none');
- }
- else{
- $wk_jq.ajax({
- url: "<?php echo Mage::getUrl('marketplace/marketplaceaccount/verifysku',array('_secure'=>true));?>",
- type: "POST",
- data: {sku:$wk_jq('input#sku').val()},
- dataType: 'html',
- success:function($data){
- $data=JSON.parse($data);
- if($data.avl==1){
- $wk_jq('div#skuavail').css('display','block');
- $wk_jq('div#skunotavail').css('display','none');
- }
- else{
- $wk_jq('div#skunotavail').css('display','block');
- $wk_jq('div#skuavail').css('display','none');
- $wk_jq("input#sku").attr('value','');
- }
- }
- });
- }
- });
- $wk_jq("body").delegate('.wk_imagevalidate',"change",function(){
- var ext = $wk_jq(this).val().split('.').pop().toLowerCase();
- if($wk_jq.inArray(ext, ['gif','png','jpg','jpeg']) == -1) {
- $wk_jq(this).val('');
- alert('<?php echo $helper->__(" invalid extension! Please Upload an image ")?>');
- }
- });
- $wk_jq("#wk_bodymain").delegate('.wk_plus ,.wk_plusend,.wk_minus, .wk_minusend ',"click",function(){
- var thisthis=$wk_jq(this);
- if(thisthis.hasClass("wk_plus") || thisthis.hasClass("wk_plusend")){
- if(thisthis.hasClass("wk_plus"))
- thisthis.removeClass('wk_plus').addClass('wk_plus_click');
- if(thisthis.hasClass("wk_plusend"))
- thisthis.removeClass('wk_plusend').addClass('wk_plusend_click');
- thisthis.prepend("<span class='wk_node_loader'></span>");
- $wk_jq.ajax({
- url : "<?php echo $this->getUrl('marketplace/marketplaceaccount/categorytree/',array('_secure'=>true));?>",
- type : "POST",
- data : {CID:thisthis.siblings("input").val(),
- ML:thisthis.parent(".wk_cat_container").css("margin-left").replace("px",""),
- CATS : "<?php echo implode(',',$categories); ?>"},
- dataType: "html",
- success : function(content){
- var newdata= $wk_jq.parseJSON(content);
- len= newdata.length;
- var pxl= parseInt(thisthis.parent(".wk_cat_container").css("margin-left").replace("px",""))+20;
- thisthis.find(".wk_node_loader").remove();
- if(thisthis.attr("class") == "wk_plus")
- thisthis.attr("class","wk_minus");
- if(thisthis.attr("class") == "wk_plusend")
- thisthis.attr("class","wk_minusend");
- if(thisthis.attr("class") == "wk_plus_click")
- thisthis.attr("class","wk_minus");
- if(thisthis.attr("class") == "wk_plusend_click")
- thisthis.attr("class","wk_minusend");
- for(i=0;i<len; i++){
- id=newdata[i].id;
- checkn=newdata[i].check;
- nam=newdata[i].name;
- if(checkn==1){
- if(newdata[i].counting ==0){
- thisthis.parent(".wk_cat_container").after('<div class="wk_removable wk_cat_container" style="display:none;margin-left:'+pxl+'px;"><span class="wk_no"></span><span class="wk_foldersign"></span><span class="wk_elements wk_cat_name">'+ nam +'</span><input class="wk_elements" type="checkbox" checked name="category[]" value='+ id+' </div>');
- }else{
- thisthis.parent(".wk_cat_container").after('<div class="wk_removable wk_cat_container" style="display:none;margin-left:'+pxl+'px;"><span class="wk_plusend"></span><span class="wk_foldersign"></span><span class="wk_elements wk_cat_name">'+ nam +'</span><input class="wk_elements" type="checkbox" checked name="category[]" value='+ id +'></div>');
- }
- }else{
- if(newdata[i].counting ==0){
- thisthis.parent(".wk_cat_container").after('<div class="wk_removable wk_cat_container" style="display:none;margin-left:'+pxl+'px;"><span class="wk_no"></span><span class="wk_foldersign"></span><span class="wk_elements wk_cat_name">'+ nam +'</span><input class="wk_elements" type="checkbox" name="category[]" value='+ id+'></div>');
- }else{
- thisthis.parent(".wk_cat_container").after('<div class="wk_removable wk_cat_container" style="display:none;margin-left:'+pxl+'px;"><span class="wk_plusend"></span><span class="wk_foldersign"></span><span class="wk_elements wk_cat_name">'+ nam +'</span><input class="wk_elements" type="checkbox" name="category[]" value='+ id +'></div>');
- }
- }
- }
- thisthis.parent(".wk_cat_container").nextAll().slideDown(300);
- }
- });
- }
- if(thisthis.hasClass("wk_minus") || thisthis.hasClass("wk_minusend")){
- if(thisthis.attr("class") == "wk_minus")
- thisthis.attr("class","wk_plus");
- if(thisthis.attr("class") == "wk_minusend")
- thisthis.attr("class","wk_plusend");
- var thiscategory = thisthis.parent(".wk_cat_container");
- var marg= parseInt(thiscategory.css("margin-left").replace("px",""));
- while(thiscategory.next().hasClass("wk_removable")){
- if(parseInt(thiscategory.next().css("margin-left").replace("px",""))>marg)
- thiscategory.next().slideUp("slow",function(){$wk_jq(this).remove();});
- thiscategory = thiscategory.next();
- if(typeof thiscategory.next().css("margin-left")!= "undefined"){
- if( marg==thiscategory.next().css("margin-left").replace("px",""))
- {
- break;
- }
- }
- }
- }
- });
- $wk_jq("body").delegate('.nicEdit-main',"blur",function(){
- var x = $wk_jq(this).text()
- $wk_jq(this).parent().parent().children('textarea').text(x);
- });
- $wk_jq('.image_set span').click(function(event){
- var dicisionapp=confirm('<?php echo $helper->__(" Are you sure you want to delete this image ? ")?>');
- if(dicisionapp==true){
- var deleteflag=0;
- var thisthis = $wk_jq(this);
- var imag = thisthis.prev('img').attr('id');
- thisthis.html("<img src='<?php echo $this->getSkinUrl('marketplace/images/loading.gif'); ?>'/>");
- thisthis.removeClass('wk_imagedelete');
- thisthis.addClass('wk_imagedeleteload');
- $wk_jq.ajax({
- url: "<?php echo $this->getUrl('marketplace/marketplaceaccount/deleteimage',array('_secure'=>true));?>",
- type: "POST",
- data: {file:thisthis.prev('img').attr('id'),pid:thisthis.prev('img').attr('pid')},
- dataType: 'html',
- success:function(content){
- thisthis.parent('div.setimage').remove();
- }
- });
- }
- });
- $wk_jq('.wk_imagedelete img').mouseover(function(event){
- $wk_jq(event.target).css('width','22px');
- });
- $wk_jq('.wk_imagedelete img').mouseout(function(event){
- $wk_jq(event.target).css('width','20px');
- });
- })($wk_jq);
- </script>
- <?php
- }else{
- echo "<h2 class='wk_new_msg'>".$helper->__("To BECOME SELLER PLEASE CONTACT TO ADMIN.")."</h2>";
- }?>
- <style>
- .div_link-cart { display:none !important; /* remove cart button */ }
- .header_search { display:none !important; }
- .inner_menu { display:none !important }
- .welcome-msg {
- display:none !important;
- }
- .social-icons { display:none !important }
- .grid_6.pull_18.col-left.sidebar > div:last-child {
- display: none; /* remove complete my acccount section */
- }
- .breadcrumbs { display:none !important /* remove home > My account */ }
- .block-title { display:none !important /* remove markeplace text */ }
- ul.wk_cont_ul li {
- display: inline-block;
- }
- .wk_cont_ul {
- background: #027CD5;
- }
- .wk_cont_ul_one
- {
- position:relative;
- left:640px;
- bottom:69px;
- display: inline-block;
- font-size:13px;
- list-style-type: none;
- }
- ul.wk_cont_ul_one li
- { display: inline-block;}
- ul.wk_cont_ul_one li { display: inline-block;}
- .widget.widget-static-block { display:none !important }
- </style>
- <style type="text/css" media="screen"> #horizontalmenu ul { padding:1; margin:1; list-style:none; } #horizontalmenu li { float:left; position:relative; padding-right:100; display:block; border:0px solid #CC55FF; border-style:inset; } #horizontalmenu li ul { display:none; position:absolute; } #horizontalmenu li:hover ul{ display:block; background:white; height:auto; width:8em; } #horizontalmenu li ul li{ clear:both; border-style:none;} </style>
- <style>
- .mymenu {
- font-size:17px;
- color : white;
- }
- .wk_cont_ul
- {
- position:relative;
- bottom:50px;
- }
- #main_header { position: relative !important; }
- .mymenu li { margin-right:10px; }
- .mymenu li a{ text-decoration: none;padding: 5px; }
- .mymenu li a:link{ text-decoration: none; }
- .mymenu li a:hover{ text-decoration: none;background:#ffff00; }
- #horizontalmenu .mymenu > li {
- height: 32px;
- line-height: 32px;
- width: 100px;
- }
- <!--
- #main_header .header-container .header {
- background-color: ;
- -->
- }
- #horizontalmenu{
- /*
- margin-top: -5px;
- */
- }
- </style>
- <!-- as amazon -->
- <style>
- .ama1
- {
- width: 80px; border-radius: 5px; border: 1px solid #C0C0C0; padding: 10px; position : relative; top: 10px;"
- }
- .wk_mp_list_table {
- position:relative;
- right:160px;
- width:137%;
- }
- #wk_mp_tr_heading {
- background: #282828 none repeat scroll 0 0;
- }
- #wk_mp_tr_heading th {
- border: medium none !important;
- text-align: left !important;
- width: 30%;
- }
- .marketplace-marketplaceaccount-myorderhistory .wk_mp_list_table .wk_mp_body .input-text {
- width: 95%;
- }
- #main_header .header-container .header { width:100%}
- .update { position:relative; top:18px;}
- .cancel { position:relative; top:18px;}
- </style>
- <style>
- .marketplace-marketplaceaccount-myorderhistory #wk_mp_tr_heading
- {
- background: #282828 none repeat scroll 0 0;
- }
- .wk_row_view td {
- border-left: 1px solid #ccc;
- padding: 2px;
- border-bottom: 1px solid #ccc;
- vertical-align: middle;
- }
- .wk_first_td {
- width: 26%;
- border-left: none!important;
- vertical-align: middle;
- }
- .wk_mp_list_table thead span
- {
- font-size:18px;
- font-weight:normal;
- }
- .saveall {
- text-transform: capitalize;
- font-weight: bold;
- float: left;
- text-align: center;
- color: #fff;
- background: #3fbdf7;
- font: 500 14px/1.35 Roboto Slab, Arial, Helvetica, sans-serif;
- overflow: visible;
- width: auto;
- cursor: pointer;
- vertical-align: middle;
- display: inline-table;
- padding: 6px 24px;
- position: relative;
- border: none;
- }
- .saveall
- {
- color: #fff;
- float: none;
- line-height: 28px;
- text-align: center;
- font-size: 12px;
- font-weight: bold;
- padding: 9px 15px 8px;
- text-transform: capitalize;
- }
- .header_top ul.links li a
- {
- display : none; /* remove complete menu */
- }
- .logo img
- {
- /*
- position:relative;
- left:180px;
- */
- }
- .container_24.container_header {
- border-bottom: 3px solid #565656 !important;
- }
- .seller_header_icon span {
- font-weight: bold;
- left: 10px;
- position: relative;
- top: 10px;
- }
- .seller-header-top-static {
- float: left;
- margin: 0 auto;
- position: relative;
- text-align: center;
- top: 14px;
- width: 50%;
- }
- /* for image in header */
- .seller-header-top-static {
- float: left;
- margin: 0 auto;
- position: relative;
- text-align: center;
- bottom: 34px;
- width: 50%;
- }
- .seller-header-main-container {
- margin: 0 auto;
- width: 100%;
- border-bottom: 3px solid #565656 !important;
- position: fixed;
- background: #fff;
- }
- .seller-header {
- margin: 0 auto;
- width: 1000px;
- }
- .seller-header-logo {
- float: left;
- width: 25%;
- }
- .seller-header-top-static {
- float: left;
- margin: 0 auto;
- position: relative;
- text-align: center;
- top: 14px;
- width: 50%;
- }
- .seller-header-Login-cart
- {
- position:relative;
- top:20px;
- font-weight:bold;
- }
- .mplist{
- position: relative;
- right: 160px;
- font-size: 20px;
- font-weight: bold;
- }
- .marketplace-marketplaceaccount-myproductlist .wk_mp_body td {
- background: #282828 none repeat scroll 0 0;
- border: medium none;
- }
- .wk_mp_body td {
- background:#282828;
- padding: 5px 7px;
- }
- input.input-text, select, textarea {
- width: 80%;
- }
- input.input-text, select, textarea {font: /*BEGIN:general_font*/12px/1.35 Arial, Helvetica, sans-serif/*END:general_font*/; padding:2px 14px !important; border: 1px solid /*BEGIN:body_line1*/#dcdcdc/*END:body_line1*/;color:/*BEGIN:body_text_color3*/#a0a0a0/*END:body_text_color3*/; height:29px; line-height:29px; border-radius:0;
- -webkit-border-radius: 0;
- -moz-border-radius:0;
- width:80%;
- }
- .wk_mp_fieldset .button {
- background:#282828;
- }
- .marketplace-marketplaceaccount-myproductlist #save_butn {
- background: #fc6c0b none repeat scroll 0 0;
- background: #fc6c0b none repeat scroll 0 0;
- width: 100%;
- border-radius: 0 !important;
- }
- .wk_mp_list_table thead span
- {
- color:white;
- }
- tbody td {
- vertical-align: middle;
- }
- button.button span span {
- padding: 0px 15px 8px;
- text-transform: capitalize;
- }
- .marketplace-marketplaceaccount-myproductlist #save_btn span
- {
- float: none;
- height: 40px;
- line-height: 37px;
- padding: 0;
- }
- #save_btn
- {
- float: none;
- height: 40px;
- line-height: 37px;
- padding: 0;
- }
- #mass_update_butn
- {
- background:#46be04;
- }
- </style>
- <style>
- button span span {
- padding: -1px 15px 8px;
- text-transform: capitalize;
- }
- </style>
Add Comment
Please, Sign In to add comment