Skip to main content
4 votes
Accepted

main.CRITICAL: Notice: Undefined index: default in CompositeConfigProvider.php on line 160

Add the following code in the app/etc/di.xml file <type name="Magento\Cms\Model\Wysiwyg\CompositeConfigProvider"> <arguments> <argument name="variablePluginConfigProvider" ...
Mitali's user avatar
  • 451
3 votes

Multi vendor + add product - force to choose only 1 category

Yes, you’re on the right track, you can add Java Script and restrict the user to one category. After that you need to apply restriction in product save function in controller or model.
Altamash Khan's user avatar
3 votes

code working in one phtml file not working in another

you have to update the assign quantity too public function updateFieldAction(){ //echo "gfggggg"; //die; $stockItem = Mage::getModel('cataloginventory/stock_item')...
Qaisar Satti's user avatar
  • 32.5k
2 votes

Quantity is not updating from frontend

Try this public function massupdatesellerproAction(){ if($this->getRequest()->isPost()){ if(!$this->_validateFormKey()){ $this->_redirect('marketplace/marketplaceaccount/...
Shakir Khan's user avatar
2 votes
Accepted

Magento 2 CleverSoft theme Modules conflicting with other theme instaled on another website on the same magento Installtion

You can ask you theme vendor to provide support in this matter as you can not do anything else you have to change the whole bunch of code to setup per store view or website enabling disabling the ...
Rohit's user avatar
  • 36
2 votes

Display In-Stock Seller/Vendor on top of product view page

You can order the position of seller in your collection by modifying your both the seller collection like below. As you have already filtered the Seller list by quantity having more than 0 value. By ...
Codrain Technolabs Pvt Ltd's user avatar
1 vote

code working in one phtml file not working in another

There is an exit() before you save()
brianwalleshauser's user avatar
1 vote

Display In-Stock Seller/Vendor on top of product view page

I couldn't do the code but the idea is very simple. Before all, load all the sellers that have this product, create an array with the "name"=>"stock" , order the array with the hight value of the "...
ntzz's user avatar
  • 534
1 vote

Create custom url

Without seeing the code I will do my best to answer. What you need to do is setup a new route and in that controller in the indexAction method you need to call the current method with any parameters. ...
Colin Murphy's user avatar
1 vote
Accepted

Quantity is not updating from frontend

replace this $product->setQty($qty[$key]); with afte see you website you have to give separate name for every quantity field. because for some product quantity is not there. $j=0; foreach ($...
Qaisar Satti's user avatar
  • 32.5k
1 vote

Quantity is not updating from frontend

Try this $stockItem = Mage::getModel('cataloginventory/stock_item')->loadByProduct($id); $stockItemId = $stockItem->getId(); //echo $stockItemId; if ($stockItemId) { if($Qty==0): ...
prajosh's user avatar
  • 21
1 vote

Magento2 : Any up-to-date Multi-Vendor Marketplaces?

If you look at the source file you can see they have added a note Since PHP 7 adds "object" as a reserved keyword, we can no longer have a class * named that and retain PHP 7 compatibility. The ...
Haijerome's user avatar
  • 2,181
1 vote

Magento 2 :Develop Multivendor Marketplace store in Magento

I am using Multi Vendor Marketplace extension check out webkul marketplace extension, this extension support multi vendors, as come up with many more modules like split order by vendor, custom ...
Lalit838's user avatar
  • 313
1 vote

Magento 2: Create Custom Tab in admin panel in magento 2

You can refer below link to create custom tab in Magento2 - https://github.com/jainmegha5395/admin-menu
Megha Jain's user avatar
1 vote

update the values without refreshing the page

In your JS you have this line document.getElementById('formmassdelete').submit(); it tells your browser to submit the form, hence reloading the page. If you want to do something without reloading the ...
Julien Lachal's user avatar
1 vote
Accepted

wrong quantity [zero] is displaying in particular phtml page

Try to use the $assinproducts instead of the $mpAssignProductModel in the file1.phtml. You should add your input with qty after the condition: <?php foreach($this->getCollection() as $...
Siarhey Uchukhlebau's user avatar
1 vote

wrong quantity [zero] is displaying in particular phtml page

You have load model using id. so your code not working $mpAssignProductModel->getQty(); Change it to: $mpAssignProductModel->getData('qty');
Prashant Valanda's user avatar
1 vote
Accepted

Display In-Stock Seller/Vendor on top of product view page

i already answer there so the same question public function sellerNewProductList() { $productid=Mage::registry('current_product')->getId(); $collection=Mage::getModel('mpassignproduct/...
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

quantity is not saving in database through frontend

in phtml change <input type = "text" id = "qty_<?php echo $products->getId(); ?>" onkeydown="validateNumbers(event)" name = "stock" class="ama1" value = "<?php echo (int) $SellerQty; ?&...
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

Dropdown attributes values are not updating in database

you param is cod not cod_available check your jquery here parameters: {id: product_id, cod: $cod}, just change in controller it will start working $cod_available = $this->getRequest()->...
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

update all products all attributes values by clicking on one update button

your param is local in your controller you are calling it $local= $this->getRequest()->getParam('mp_local_shipping_charge'); ald your attribute code is not more local public function ...
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

How to manage custom table product qty for different seller for same product?

although i did not test it and it is also pretty outdated, you might wanna try the following open source module: https://github.com/magento-hackathon/MultiStock there are also other extensions ...
David Verholen's user avatar
1 vote

Custom Attributes are not saving in database

$mp_local_shipping_charge = $this->getRequest()->getParam('mp_local_shipping_charge'); $product = Mage::getModel('catalog/product')->load($id); $product->setData('...
phanvugiap's user avatar
1 vote
Accepted

Custom Attributes are not saving in database

try that public function singlerowupdateAction(){ if($this->getRequest()->isPost()){ if(!$this->_validateFormKey()){ $this->_redirect('marketplace/...
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

what and all is attribute code in following code

thats actually bad debugging practice, but if you don't know xdebug it's a way to get this information you maybe need. You could try to do the following in your controller to see if you get the params ...
David Verholen's user avatar
1 vote
Accepted

values are not saving after refreshing the page

try this one $product->setData('mp_local_shipping_charge', $upd_local) ->getResource() ->saveAttribute($product, 'local'); $product->save(); or try that ...
Qaisar Satti's user avatar
  • 32.5k
1 vote
Accepted

Quantity not working after commenting some lines

after reading you code i figure out problem was with the 'assignqty' <?php $selllermpassignproduct=Mage::getModel('mpassignproduct/mpassignproduct')->getAssignProDetails($products->getId()); ...
Qaisar Satti's user avatar
  • 32.5k
1 vote

Quantity not working after commenting some lines

1st problem: Do not use $product->setQty(...) Use: foreach ($ids as $key => $value) { $product = Mage::getModel('catalog/product')->load($value); ... $product->save(); .....
Phoenix128_RiccardoT's user avatar
1 vote
Accepted

Quantity update is not working

Please try the below code, hope it helps. Phtml <span class="label qty" id="valueqty_<?php echo $assinproducts->getId(); ?>"> <?php echo intval($assinproducts->getQty()); ?&...
Toan Nguyen's user avatar
  • 3,049

Only top scored, non community-wiki answers of a minimum length are eligible