Questions tagged [condition]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
117 views

Magento 2.3 - Display text Instead of 0 for 0 Price products

For my Magento 2.3.3 store lot of products ASK Price condition, How efficiently achieve this case, Anyone helps me with preference or module?
0
votes
0answers
17 views

Magento 2 : How to add Rule Condition in custom module

I want to add this rule condition based on yes/no field in my custom module form. In my custom module, I'm showing a form using the block method. Also, I don't want this rule condition on tab, it ...
0
votes
1answer
13 views

conditional knockout with ajax response

I created an default template for items in the minicart. The difference to the default template should be shown only under a specific condition. <!-- ko if: $parent.myvalueactive(product_sku)==...
1
vote
0answers
28 views

Magento 2 how to add customer chooser in cart price rules condition

I want to add customer chooser in cart price rules conditions like category and product chooser. Can anyone help me with this?
0
votes
0answers
55 views

Magento 1.9 Observer - How do visible selected payment gateway only for specific customer group?

Following code return customer group, how to add condition if customer group "Tester" then only show selected payment gateway? app\etc\modules\Gta_FindPaymentGateway.xml <?xml version="1.0"?> &...
0
votes
1answer
48 views

How to remove trailing slash adding in pagination urls

I have added code in my htaccess to add trailing slash in my Magento 2.3.2 website URLs. I want to exclude the pagination pages including questions to add a trailing slash. For example - I have ...
2
votes
1answer
100 views

How to hide some option in condition field in admin?

How to hide some option in condition field in admin? I used this blog to create a condition action: https://www.mageworx.com/blog/2016/09/magento-2-module-with-conditions-model-fieldset/
0
votes
0answers
13 views

how to add condition for coupon where subtotal including tax => defined value in coupon setup magento1?

In Website the Catalog price is set with a 3rd party API and that automatically adds the tax amount. It also shows in the front end but when i try to apply coupon condition based on subtotal the ...
0
votes
1answer
210 views

Magento 2 cart rule conditions and action to exclude specific product using sku

I have added cart rule and its working properly, I need to exclude specific product from cart rule and others to go with cart rule. EX: sku1 need to exclude from cart rule. 1.Only "sku1" in the ...
0
votes
0answers
42 views

filter product follow condition magento 2

public function getLoadedProductCollection() { $this->_limit = (int) $this->getWidgetCfg('limit'); $type = $this->getTypeFilter(); $fn = 'get' . ...
2
votes
0answers
55 views

filter product list follow condition in custom module magento 2

public function createCollection() { /** @var $collection \Magento\Catalog\Model\ResourceModel\Product\Collection */ $collection = $this->productCollectionFactory->create(); if ($...
2
votes
2answers
55 views

Condition on Custom Tab in Customer Account page

app\code\companyname\modulename\view\frontend\layout\default.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...