Questions tagged [restriction]

The tag has no usage guidance.

3
votes
0answers
25 views

Magento custom add-to-cart Module Not Working

Created module like No other products add to cart if restricted product available in cart and vice versa. My Module : app/etc/modules/Brst_Test.xml <?xml version="1.0"?> <config> &...
1
vote
1answer
30 views

How to add condition in add-to-cart button function? Magento 1.9

How to Add PHP script in add-to-cart function like if other products are trying to add add-to-cart, supposed selected id based products[restricted products] already available in add-to-cart here ...
0
votes
1answer
65 views

How to do selected single product should be purchase alone?

I have one restricted product, here how to do selected single product should be purchased alone? No other products are eligible to add add-to-cart if this product available in the add-to-cart, same if ...
0
votes
0answers
31 views

Restrict access to Customer API Magento 2

My website is getting 300+ spam users for a day, On checking it seems to be from Customer API which Magento provides. How can I stop this users, Is there any way that I can restrict the customer ...
0
votes
0answers
13 views

Restrict buying of only the related product

I'm using Magento 2.3. I need to have the feature, where I've a two products A & B. Now, a customer can buy product A and can buy product B only with product A. Product B cannot be sold ...
2
votes
1answer
28 views

How to insert specific invoice items in sales_invoice_item Table?

Actually, I created a multi-vendor site. I did most of the things but now am stuck in invoice creation. I filter the invoice items in the New Invoice page shown in the screenshot In this order, ...