Questions tagged [jquery]

Denotes questions related to the use of jQuery library in Magento.

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

Custom button disabled by default?

I'm overriding one template, in order to allow multiple payments, so it have to have a button to call an aditional form, the thing is the button is already disable when the template is loaded. The ...
0
votes
2answers
1k views

Adding jQuery to static block

I'm a complete newbie to magento so excuse me if this is a silly question. I need to add some code for a toggle function so something like this : <script type="text/javascript"> $("#...
0
votes
1answer
58 views

How to find what js is applying?

please visit here click on "Buy Now" button, than you will see "Check" button in cart page. once you enter the zip code " 560043" and enter "check" button, than you can see its calculating shipping ...
0
votes
3answers
1k views

Unable to disable button in magento

<form action="<?php echo Mage::getUrl('abc_checkout/cart/placeorder'); ?>" method="post" id="confirm_order_form" class="info-static" onsubmit="return submitOrder();"> . . . . <div ...
1
vote
2answers
191 views

Discount are showing in decimal numbers

please visit this configurable product you can see color : "choose an option " please change to "grey" , discounts are displaying in decimal numbers. once you refresh the page, its working fine. ...
0
votes
1answer
43 views

muliple versions of jquery are added in magento

We need to either modify the existing product image code to load these images up and allow swipe through jQuery OR possibly embed an existing jQuery library to handle this. How can i add muliple ...
0
votes
1answer
400 views

jquery issue in custom module magento 2

i am on the way to create a custom module for sliding. But always its driving me crazy on jquery issues. Sometime the js will load and everything will be fine. After sometime, jquery wont get loaded. ...
1
vote
1answer
872 views

Mobile image Swipe

I would like to add mobile image swipe to my product pages. Only on the product page where you see the gallery slider beneath and the product image above I want users to be able to drag their finger ...
2
votes
2answers
81 views

Hide fields by default

i use this jQuery code to hide all fields below, how I can to to be hidden by default on page load? var showRadio = jQuery('.product-options .display ul li:nth-child(1)').find('input'); var hideRadio ...
3
votes
1answer
771 views

Add class to the radio buttons

I have a radio button in the Product View page at the custom options, this contain Hide and Show. Is there any way to add a class for each option? I need to hide everything that is under this field ...
1
vote
1answer
138 views

Extra jQuery in Magento 2

In Magento 2, if I use my Javascript debugger's console, I notice there's a global object with a jQuery prefix defined. > jQuery111001331609229091555 Object {events: Object} events: Object handle: ...
0
votes
1answer
42 views

Custom jQuery dont work

I've added some jQuery code to my magento shop, to be able to make tabs ind my short desciption on my products. But it dont work. My jQuery code $(document).ready(function(){ $("....
1
vote
2answers
1k views

jQuery conflict in the product view page

I implement jquery lazyloads to load product images on scrolling.. I added the following codes to view.phtml <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></...
1
vote
0answers
227 views

Magento 2 RequireJs callback not called

I have the following in requirejs-config.js var config = { "map": { "*": { "jquery/easing": "./js/jquery.easing.1.3", "jquery/mobile/customized": "./js/jquery....
1
vote
1answer
542 views

Use jQuery Plugins in Magento 2 blocks

I'm trying to use jQuery camera inside a page block, but I'm doing something wrong. I added the camera.min.js into my custom theme folder Theme_folder/Magento_Theme/web/js/camera.min.js Here's my ...
2
votes
1answer
457 views

Ajax Layered Navigation load event to use in jquery

I integrated lazyload on an magento layered navigation page. First page load runs well, but when I use navigation no more images are shown. This is propably due to the ajax call updating instead of ...
4
votes
1answer
834 views

Magento 2 Pattern Library — Date & Time Selectors

I would like to implement the "Horizontally Stacked Time Range Picker" from the Magento 2 Pattern Library into an admin form input http://devdocs.magento.com/guides/v2.0/pattern-library/getting-user-...
0
votes
1answer
63 views

unable to set select value options

Helloo.. I am stucked in a very difficult situation. I am implementing ajax in magento, but it is not working. Whenever I use that code in home page it run properly but the html is not added to the ...
0
votes
1answer
1k views

Jquery Conflict Issue Magento 1.9

i have added custom slider with for products. I added Jquery files. When I add jQuery files in XML then slider working but Add to Cart Button not working. When I remove jQuery files then, Slider ...
2
votes
0answers
435 views

jQuery autocomplete select box - must press “Enter” Key [closed]

There is a problem with my select box which shows them a list when they start typing, and they have to click on their city or type it correctly. When I click on a city from the list, the matching ...
0
votes
1answer
610 views

How to resolve conflict between two jQuery plugins?

I'm using the fancybox plugin. It was working good. But when I installed slider plugin slider plugin working good but the Fancybox plugin stopped working, why is it show? How can I remove that ...
0
votes
1answer
724 views

Why jQuery is not working for mobile filter

In mobile view, i have the set of filters set to display: none; and im trying to use jQuery's .toggle function to display and hide those filters, but for some reason my jQuery is not working and ...
0
votes
1answer
177 views

How to populate all custom options of a configurable product in product view?

I have a configurable product in magento which has a size and color as product options. But the colors options gets populated when I have selected a size. Now I want to populate size and color before ...
0
votes
1answer
115 views

ajax call failing

On the same page I have 2 sections. First section is generated dynamically (when I enter a text in an autocomplete field) and the second section is loaded on pageload. There is an ajax all I need to ...
3
votes
1answer
250 views

Add Transitions for Accordion

How to add slide transitions when product description, additional data accordion is clicked. Is this code needs to be edited in app.js function toggleClasses(clickedItem, group) { var ...
3
votes
1answer
3k views

Conflict with using JQuery in Magento [duplicate]

I want to use JQuery in magento. When I included JQuery in the code, Prototype is throwing errors at this line. element.attachEvent("ondataavailable", responder); Can anyone help me?
0
votes
1answer
2k views

Disable onChange event at page load

For some reason, my onChange event on my select input fires when the page load. What I'm trying to do is have an onChange event occur when the user selects the first option of a select dropdown. ...
1
vote
1answer
202 views

How to call a function from a local helper in <img src

This is my code to take the images from the server using ASIN , the database only has the SKU and no ASIN. <?php class Bundle_LocalHelpers_Helper extends Mage_core_Helper_Abstract{ public ...
2
votes
1answer
277 views

Configurable JS Conflict

My problem is that only few configurable products have JS error on their page while its still same format just different description, price etc. The product tabs are not working and the content of all ...
1
vote
1answer
48 views

change content of div based on usergroup

I have a static block that loads an image with a link on the main page. However what I need is if the user is logged in and is a wholesaler to have the image have a different url. So I am using jquery ...
0
votes
1answer
380 views

How to display Grouped product without using image and other details..?

I have one Bazaar store to develop in Magento. I have created grouped product, with simple product. As per requirement I want to display only Product name and list of product(Which I added in grouped ...
0
votes
1answer
250 views

Mini Cart Close jQuery

Where is jQuery function written for closing mini cart button in Magento. I want to implement it while clicking "Continue Shopping" link present in the same mini cart. Currently my cart fades in ...
2
votes
2answers
322 views

Please Choose to register or to checkout as guest

Everything was working fine on one page checkout, But now it seems to give me a error of Please Choose to register or to checkout as guest even if I select any of these option and try to click on ...
0
votes
1answer
2k views

How to pass & get value to jquery use in magento?

i have one problem in passing the value in website and i can't pass it through query String.my small piece of php code is.:- <div class="menu"> <div class="sub_menu_header">About ...
0
votes
0answers
33 views

Installing magento on localhost server [duplicate]

I am trying to install Magento on my localhost server. I have downloaded magento full version from the http://www.magento.com/download and have got all the files from there running in my project, ...
0
votes
1answer
1k views

Replace Product large image with iframe onclick a link

I have a Magento CE 1.8.1.0 and I am customizing the product details page. What I want is under the bottom row of images (I believe you call these the gallery images) I have a a href text based link ...
1
vote
1answer
1k views

How do I detect ajax complete event in Magento?

I have button on checkout page. When I clicked on that button, an ajax event it is called and returns me a HTML code, which is actually the html code from the next step(payments step). I want to add ...
2
votes
2answers
874 views

How to display attribute values of second dropdown box in configurable product

I have created a configurable product in magento store with two attributes say color and size. On product page second dropdown box (say size) is disabled by default untill any attribute value not ...
0
votes
1answer
193 views

jQuery optimized load for module, using only one file (layout)

In Magento environment, prototype rules. In order to play with jQuery, we need to: load jQuery before prototype check if jQuery is already loaded before loading it (by some other module, or the ...
0
votes
1answer
199 views

Static block slider issue

I have a slider on this website: https://sportinngerritsen.nl/ and I'm trying to make it editable for the user through static blocks, but when I do this, it displays the slider like this: http://...
0
votes
1answer
721 views

Product validation form jquery

I am having difficulties getting getting my form to work. I have it partially working. Fields which are required are coming up in red when not filled out. The problem is that they remain red even when ...
2
votes
1answer
932 views

jQuery programatically set options of dropdowns

I am lost, please take a look at http://www.austrokamin.at/edelstahlkamine/edelstahlkamin-doppelwandig/bodenplatte-dw.html I need to set the two dropdowns with jQuery. For example: jQuery('#product-...
1
vote
1answer
3k views

Bootstrap Popover error: undefined is not a function

I'm dealing with a problem that obviously a lot of people run into considering the amount of articles I've read and tried. However, none of these helped me actually solve the problem so I hope someone ...
0
votes
1answer
3k views

Hide Mini-Cart and Header-Account Dropdown When Click Outside of Those Sections

I am building a custom theme based on Magento 1.9 RWD. How do I manage to hide/close the mini cart and header-account drop down by clicking anywhere outside of those sections ? EDIT - 1 zhartaunik'...
0
votes
1answer
350 views

Mobile scroll issue in magento

I used flexslider for product image gallery Issue: mobile scroll is not working over the image but scroll is working in empty space or below the image below code is sample html <div class="...
0
votes
3answers
6k views

Java script error with prototype

I am getting js error as follows from my magento project.MY project url is check my project. i tried js noconflict but no use. Error: Uncaught TypeError: (intermediate value)(intermediate value)(...
0
votes
2answers
411 views

Magento validation and jQuery reload

i got this weird issue on happening only on IE8, 9, 10 and 11. I wrote some jQuery validation code for telephone field on "admin/sales_order_create/index". This code worked as expected on Firefox. ...
0
votes
1answer
2k views

How to make RWD “Reviews” link open “Reviews” tab?

By the default, the "x Review(s)" link, links to the review page. How do we make it link to the "Review" tab instead, using the default RWD template? Example: When you click the "x Review(s)" link, ...
-2
votes
1answer
7k views

running jquery with no conflict inside CMS pages [duplicate]

im trying to run this small image magnifier, but it keeps conflicting with my menu, so is there any code i can insert into this to run the jquery in no conflict mode so it doesnt break any of magento'...
0
votes
2answers
714 views

How to call Magento SOAP API using Jquery? [closed]

I would like to call magento SOAP using Javascript or Jquery to list the products. Anyone know how to do this?