Questions tagged [dynamic]

Denotes questions related to dynamic content or dynamic functionality.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
637 views

Create system config section with dynamic number of fields

I have looked around and this is my last resort. I'm new to magento 2. I created a plugin in magento 1 (using this link as a good guide) and i would like to replicate same in magento 2 however things ...
3
votes
1answer
648 views

Magento 2.1 Dynamic Drop-downs 2 models with UI component

Having 2 Drop-downs where the second one should load options according to the first one selections, but both come from the EAV models, I want to make them work in the admin but I can understand how to,...
3
votes
0answers
93 views

Create a PDF with customer/order information for virtual product

I've setup products as "Virtual Products" because I don't ship anything so thought this would be the best product type. With that the option to attach downloadable PDF products. On sale of this ...
2
votes
0answers
17 views

Magento 2 : Category products dynamic rules get scope between 10% and 20% discount

We have a category where we need to add all products from another category with between 10% and 20% discount. The problem is that some of the products have a special price AND a price-rule which ...
2
votes
1answer
306 views

How to create a dynamic generated admin fields with Image upload?

This is XML : <field id="threesegmentimages" translate="label" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="threesegmentimages" ...
2
votes
1answer
2k views

Dynamically updating the sku on the product page of a configurable product based on selected options

I've successfully got the attributes to update dynamically for the SKU on the product page based on the simple product selected (through help found on the web). I'm now trying to apply this logic to ...
1
vote
0answers
21 views

create dynamic pages

I have a website with about 200 accessories for a certain type some cars, the accessories are set up as normal products within Magento. However, the cars are stored in a new table within our Magento 2 ...
1
vote
2answers
133 views

How to call custom slider from backend to frontend dynamically in magento2.2.5?

I have created a custom module in backend for uploading image slider in homepage, but I am not able to call in homepage?(frontend). I don't know where I am making mistake. Here is my code. <?php $...
1
vote
0answers
42 views

How to connect whole Native site of Magento in Mobile application?

Is it possible to connect whole Native Magento site with Fire-base ? Without creating APIs or connection the default APIs. Example http://127.0.0.1/Magento23/catalog/product/view/id/2446/ Where ...
1
vote
1answer
112 views

Get breadcrumb in Controller Action

I need to get the breadcrumb in the controller action because I am using the cache modules(FPC and another system externally). It cached the breadcrumb in the frontend page. With that, I would use ...
1
vote
0answers
464 views

How to display custom category attribute in category form magento2?

I have created custom category attribute in Magento 2.1.X version. Attribute created successfully in the database. I know display category attribute using UI-component 'category_form.xml' but that ...
1
vote
0answers
305 views

Magento 2: How to show request variable in Layout file

http://localhost/magento2/module/List/Variable Here Variable is my dynamic value, which would like to show in Breadcrumb & Title via Layout File. app\code\Custom\Module\view\frontend\layout\...
1
vote
0answers
678 views

Adding a dynamic attribute to products

I wish to add a dynamic attribute to products. I am looking to add an attribute "Calorie" associated with food products and wish to add them in bundled products much in the same way as their price add ...
0
votes
0answers
14 views

Review form - dynamic rows

I need to add dynamic rows to review form, the problem is that the form is not defined in xml, but in php class \Magento\Review\Block\Adminhtml\Edit\Form, i cannot find how to add dynamic rows via php,...
0
votes
0answers
17 views

Magento 2.3.5 - Dynamically add month-year, storename and store country to meta title / description

I'm trying to dynamically add the current month, year, store name and store location (country) separately to the meta title/description as follows Offers for {{month}} {{year}} in {{storename}} {{...
0
votes
0answers
32 views

How to dynamically add MediabrowserUtility fields to widget in Magento 2?

I am trying to make a widget that allows creating a banner with multiple images and the number of images dynamic. This ideally would be with the Media browser utility. What I have so far is a single ...
0
votes
0answers
50 views

How to change top menu dynamically - Magento 2

I want to change the menu dynamically in the top navigation bar. If the customer didn't log in it should be LOGIN and after the login, it should change to ORDER DETAILS. The current menu i have ...
0
votes
0answers
146 views

Magento 2 How add dynamic rows field to custom widget

I need add dynamic rows field to my custom widget, which should have three columns: title(text field), color(select field), url(text field). There should also be an add button, and delete buttons for ...
0
votes
1answer
91 views

Change page layout dynamically depending on url parameter

The standard layout of my categories is 2-columns-left so that the layered navigation is visible in my shop. What I want is, to use the same categories to display content. This is an example for my ...
0
votes
0answers
265 views

Mixin for Magento_ConfigurableProduct/js/configurable::_reloadPrice not working

I'm trying to follow the example here Magento 2 - Why do SKU not change dynamically in configurable product view page to create a mixin for configurable products that will show dynamically a ...
0
votes
1answer
29 views

Dynamically change template based on user type

We're about to move to Magento 2.3. Trying to understand whether a product page can display one of two actions based on the visitor/customer type. I have one product with two different customer types....
0
votes
1answer
440 views

How to implement dynamic product price calculation on weight basis in magento 1.9?

I'm developing an eCommerce website in Magento for Silver business. the price of the product is should be in weight basis. For example today I've added a 1000 rupees silver necklace of 10 grams to my ...
0
votes
1answer
598 views

Magento 2: Getting dynamic url of image from media browser in js

So I have been building an extension to allow me to insert images into the textarea block of blocks and pages with custom styles. I call the MediabrowserUtility and am able to get a long funky url ...
0
votes
1answer
730 views

Magento 2 : How to Add Dynamic CSS Url

I need to add custom css in head dynamically, where css url is dynamic. I can add using below code but page will get cache, I need to add css dynamically each page re-fresh, css url will be also ...