Questions tagged [dynamic]

Denotes questions related to dynamic content or dynamic functionality.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

Dynamic Content based on items in Basket

Is there a way to dynamically display content on a page, based on whether there is something in your basket. i.e Page would display certain block of text IF there is something in the customers basket ...
0
votes
1answer
18 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
2answers
43 views

Magento 2 system configuration state multiselect dropdown

First i have created country drop-down in back-end system configuration, using source model as <source_model>Magento\Directory\Model\Config\Source\Country</source_model> Next based on ...
0
votes
0answers
47 views

How to create dynamic fields in checkout?

I want to crate a custom checkout step in Magento 2, I need dynamic fields based on backend configuration. How can i do that? Backend Configuration: The fields should be display as per the backend ...
0
votes
1answer
27 views

Dynamic change of custom attribute in configurable product. M2.3

I need to change custom attribute and sku every time when customer change color and size (http://prntscr.com/nwzt1h). With sku i found article how to do it and it's working, but i can't find some ...
0
votes
0answers
17 views

How to change color of website dynamically in Magento 2?

I have installed Marketplace extension in Magento 2 and I have overridden default luma theme. In the Marketplace system, every vendor has a different domain or subdomain of the vendor's shop, every ...
0
votes
0answers
34 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 ...
2
votes
0answers
14 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 ...
1
vote
0answers
22 views

How to add dynamic row in custom module magento 2 [duplicate]

I have created the adding dynamic row entity in config module, here is the snap shot for same, Now i want the same functionality while i am adding or editing the form through admin grid . Please ...
1
vote
2answers
39 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
39 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
votes
1answer
24 views

How to display created dynamic attibute into the customer array?

We already created dynamic attribute and that attribute display on the admin side Account information tab of admin. But when we need to add some value on that feild at that time we find that, that ...
0
votes
1answer
330 views

in Magento 2 how to Open Modal popup with dynamic value for dynamic click button?

When I click on item "edit link" modal popup is open but when i edit other product it will show previous product data. Can anyone help to get dynamic popup with dynamic data in per different products?...
1
vote
1answer
41 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 ...
0
votes
1answer
26 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....
1
vote
0answers
156 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" ...
4
votes
0answers
283 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 ...
1
vote
1answer
127 views

How can I make a cms pages product price dynamic?

So I have a cms page which I use as a lading page. The page is custom html coded with 3 of my products (basically showing the product and the price). When you click on an "Buy Now" button it takes you ...
0
votes
1answer
248 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 ...
3
votes
2answers
391 views

Magento 2 - Generate css dynamically

I have an observer and i need to generate a css file dynamically - using my admin theme setting configuration - calling my observer function.
0
votes
1answer
455 views

Magento 2 : How to change input tags value dynamically which is rendered by knockout js?

I need to change product enable option to keep in disabled by default. I used data-index in css to hide the input which works fine but I need to change input tags value. My phtml to switch check box ...
0
votes
1answer
588 views

Custom Module dynamic URL

I am in the process of developing a Custom Module for my Magento 2 web store. The module will be a forum, I am developing this from scratch as it will require integrating with an existing custom ...
0
votes
1answer
387 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 ...
4
votes
1answer
2k views

Magento 2: Create a Page with Dynamic URL with Same Controller

I posted a question earlier but didn't able to understand the answer, Magento 2: How to create a dynamic url with the same controller i want to create a page with the dynamic url but with same ...
3
votes
1answer
314 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,...
1
vote
1answer
21 views

Products in Magento - SKUs from a category

Would you have any way to get product SKUs from a category? For example, I have a category with id = 13 and I need to get the SKUs of these products dynamically, so I can do checks that I created in ...
1
vote
0answers
437 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 ...
5
votes
1answer
598 views

How to add a dynamic label In Magento 2?

I want to add a dynamic label in customer dashboard (label name set dynamically ) <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" ...
0
votes
1answer
637 views

Magento 1.x custom block with dynamic content

Is it possible to add a block to Magento page which has dynamic content. Let's say I want to create a block in which a product is displayed. And after a certain period time 15 seconds for example the ...
1
vote
1answer
502 views

Load CMS Block or PHTML file after page load

I have a PHTML file that loads products based on the data I send via the set data method. e.g ->setData('xxx', $xxx) I call this file in another PHTML file numerous times to show all products. ...
0
votes
1answer
570 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 ...
0
votes
1answer
37 views

How to pull an image being added to cart dynamically

<?php $count = $this->helper('checkout/cart')->getSummaryCount(); //get total items in cart $total = $count > 0 ? Mage::helper('core')->currency($this->helper('checkout/cart')->...
3
votes
0answers
85 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 ...
1
vote
0answers
250 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
521 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 ...
7
votes
1answer
5k views

Dynamic create block in magento 2 and send as ajax call response?

I want replacement of following in magento 2.x $block = $this->getLayout()->createBlock('customer/form_login')->setTemplate('persistent/customer/form/login.phtml'); $this->getResponse()-&...
0
votes
3answers
2k views

How to change theme programatically for specific controller?

How to change theme programatically for specific controller ? I have to change theme for a particular controller.
2
votes
1answer
1k 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 ...
0
votes
1answer
3k views

how to get wordpress data in fishpig magento integration

I need to crease a author block for the wordpress posts in fishpig integration furthermore I need to create an author profile page and recommended posts etc. However inorder to do this I need to ...
0
votes
2answers
273 views

How to change store theme dynamically

I am new to Magento. But i got a requirement. Below is the requirement: On the Frontend, user is having an option to select the theme from a given list of themes (Drop Down). Upon selecting a theme, ...
3
votes
1answer
602 views

Change dynamic title of review page

I want to change the title of the review page. Currently it is display as "Productname | Websitename". But I want to change it in "Reviews of Productname | Websitename" How can I achieve that? ...
1
vote
1answer
517 views

Dynamic comments for product create/update form fields

I need to display message to admin in front of some custom product attribute, For example "Donation" fields which take decimals, I need to display message to admin that say's 20% is a minimum donation ...