home

Search A2Z 24

Satz24 - Questions


2 answers
16 views

Calling getParams() in Magento2

How to achieve the below getParams() in Magento2?

$params = Mage::app()->getRequest()->getParams();

3 answers
34 views

Need to Initialization js after ajax response magento 2

I am working on ajax concept to load product but when i got response below script not initialize

<script type="text/x-magento-init">
        {
            "[data-role=tocart-form],

1 answers
513 views

Owl Carousel, navigation disabled after reaching first/last item.

I'm trying to use owl carousel.

I want to disable the navigation after it reach first/last item,

for example by adding "disabled" class in navigation then disable it via css.

Is it

1 answers
100 views

Magento 2: Get image url in template file

How I can Add a static image on PHTML page in Magento2?

In Magento 1.x it was possible using

$this->getSkinUrl('images/xyz.jpg')

1 answers
150 views

How can you encode a string to Base64 in JavaScript?

I have a PHP script that can encode a PNG image to a Base64 string.

I'd like to do the same thing using JavaScript. I know how to open files, but I'm not sure how to do the encoding?
I'm not

1 answers
290 views

Disable LESS-CSS Overwriting calc()

Right Now I'm trying to do this in CSS3 in my LESS code:

width: calc(100% - 200px);

However, when LESS compiles it is outputting this:

width: calc(-100%);

Is there a way to tell

1 answers
486 views

Magento 2 - Keep Product Image Aspect Ratio

I'm working with Magento 2 Category Page.

 

But I couldn't know how to keep the product image aspect ratios.

 

In magento 1.x, I can get the image src to use below code.

 

1 answers
582 views

Show simple products reviews on configurable product detail page

I want to show reviews of simple products on configurable product's detail page(PDP).

1 answers
400 views

How to Import / Export a mysql database using the command line?

Import / Export a mysql database on the command line

1 answers
2399 views

How to trigger the same function in jQuery multiple events ??

Is there any way to use multiple events(keyup, keypress,paste, blur, and change) for same function.

Reveal Modal Goodness

This is a default modal in all its glory, but any of the styles here can easily be changed in the CSS.

This is just a simple modal with the default styles, but any type of content can live in here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi quis sem vel enim eleifend tristique. Etiam tincidunt faucibus pharetra.

×