Questions tagged [condition]

The tag has no usage guidance.

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

Solved: Problem add condition showing only show category and attribute sets?

As you can see my add conditions is only showing category and attribute sets. Thanks in advance. Solved. I didnt know was that simple. The show in promotion in all my attributes was off. need more ...
0
votes
0answers
517 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
34 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
15 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
40 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
59 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
88 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
155 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
1answer
429 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
47 views

filter product follow condition magento 2

public function getLoadedProductCollection() { $this->_limit = (int) $this->getWidgetCfg('limit'); $type = $this->getTypeFilter(); $fn = 'get' . ...
2
votes
0answers
115 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
74 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:...