Questions tagged [jquery]

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

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

jQuery Too much recursion error in Magento Advanced products Options extension

I am using Advanced Product Options Extension (https://www.mageworx.com/advanced-product-options-magento-extension.html) in my magento store. Problem is when I add a product in cart and try to add ...
0
votes
0answers
17 views

Why a custom JS is not recognized in checkout step3 shipping

i tried to add some js js/custom/custom.js file to all pages via local.xml , the code is present in a source code of the website but he doesn't work in the step 3 [shipping], but when I try to add it ...
0
votes
0answers
437 views

Magento 2 : Tab Content

I am trying to create tab on frontend with ajax call. I created phtml file and put these code: <div class="container"> <div class="navcontainer"> <ul> ...
0
votes
1answer
628 views

Continuing jQuery conflicts

I've been struggling for days trying to solve two broken jQuery issues. I've been under the assumption that it's a continuing conflict between jQuery and Prototype, though I'm not entirely sure now as ...
0
votes
0answers
118 views

How to get Popup after 3 page

Actually, i want popup after 3 page, not on the first page and this is my code; This is simple HTML code in which you can see the output by making HTML file on the desktop. <html class="no-js" ...
0
votes
1answer
305 views

Minicart content doesnt appear 1.9 (bakerop)

http://picknickbankspecialist.nl/ As you can see at the top the dropdown is only showing the animation, but no content. minicart.phtml $cart_summary_qty = Mage::getSingleton('checkout/cart')-&...
0
votes
1answer
1k views

magento 2: Slick JS does not work when loaded from require JS

There is no error in console and when I tried to put the log "Slick is on "on the on-init function, it displayed correctly. My theme require-config js : var config = { deps: [ "js/mainsite", ...
0
votes
1answer
328 views

Magento 1.7 and Owl Carousel 2

I'm currently trying to get Owl Carousel working with Magento 1.7 and getting this error in console. googling i can't seem to find anything about it. Uncaught TypeError: this._core.$element.on is not ...
0
votes
0answers
37 views

problem with using jquery

I am new to magento and know only basic thing about it. I want to show a popup on my page. I just add alert after document.redy event on that .phtml file but the popup wont appear after loading that ...
0
votes
0answers
440 views

jQuery get grand total from summary Magento 2

I'm trying to retrieve the grand total from the summary on the checkout/cart page through jQuery. However, the summary is being loaded with AJAX in some other file which causes my jQuery to not ...
0
votes
0answers
323 views

How to create jQuery cookie in cart and show in checkout page on Magento 2?

I Try to set a Jquery cookie in the cart page with a custom product attibute, and i need to show this attribute on the checkout page. But i can't find anything how to set and use a cookie. The only ...
0
votes
0answers
1k views

How can make jquery ajax controller in magento 2

I am not able to find correct approaches to done this work. I found some resources but there they guys are using model files also but they didn't explain about that files. My codes are below ...
0
votes
0answers
298 views

Lightbox not working

The Lightbox jquery is not working. For Photo Gallery it is hover by mouse and zoom in zoom out effect and modal open when user clicks on that
0
votes
0answers
624 views

Custome scripts conflict with Magento 2 and requirejs!

I have custome jQuery scripts (revolution slider). My steps: Add custome js files to app/design/frontend/Agestor/default/web/js. Create requirejs-config.js to app/design/frontend/Vendor/default. Or ...
0
votes
1answer
488 views

css and Jquery loading problem in magento 2.0

I install Magento 2.0 & also install a premium themes in Live. I am working with this theme. I finished my work & my website is ready for RUN. Then I click the "flush Magento Catch" button. ...
0
votes
0answers
33 views

Magento2 add custom jquery plugin [duplicate]

How can I add this JQuery plugin into Magento 2 store?
0
votes
1answer
1k views

how to reload the page everytime when user clicks button

I am building an ecommerce magento site named www.bookslab.in. I had one issue in this website. I want to make compulsory for every user to check their zipcode before they buy anything from the ...
0
votes
2answers
3k views

Magento Uncaught syntaxerror: unexpected token <

I have this function: public function adminhtmlWidgetContainerHtmlBefore($event) { $blockID = Mage::app()->getRequest()->getParam('id'); $js = "<script type='text/javascript'> ...
0
votes
1answer
55 views

Magento blocking a href in topmenu with javascript

This might sound somewhat confusing, but it seems Magento is blocking certain a href tags with javascript. Let me explain: In the topmenu, I have a few categories: - shirts - pants - hats - ...
0
votes
1answer
50 views

Refresh time stamp on product view (Magento)

I need to reload the data within a DIV, I am using a time stamp for testing purposes. The code I have appears to work outside of Magento So I cannot see why it is not working on my Magento Site. I ...
0
votes
0answers
58 views

How to check is jQuery available for my module?

Magento as far as I know have it already loaded but jQuery functions won't work in my module. What can I do with it ? How can I make sure I have an access to it ? I would like to avoid jQuery ...
0
votes
2answers
750 views

Magento2.0.6 Responsive Menu doesn't work, body class still there after “click” to close

In Luma of Magento2 theres a build in responsive burger-menu included. We have the problem that once you open the nav, the body class get the classes nav-before-open nav-open, and if you click on it ...
0
votes
1answer
585 views

JQuery auto complete not working

I have some js that does an autocomplete: jQuery("#city").autocomplete({ source: "/route/to/countroller", minLength: 1, select: function( event, ui ) { if((typeof ui.item....
0
votes
1answer
30 views

Add a static/hardcoded price if textfield contains text

I have a textbox that is shown on some products so that people can type a name or word that they want engraved onto the item they are buying. Now my issue is if they type something in the textbox and ...
0
votes
1answer
449 views

Get javascript value without html or script tags

I'm trying to get a product id value inside a add to cart button. The below code works getting the value in an alert. <script type="text/javascript"> jQuery(document).ready(function(e) { ...
0
votes
3answers
87 views

Magento 2 Include custom JS in theme

I want to include custom js in my theme i put it in web/js path of theme F:\xampp\htdocs\magento2\app\design\frontend\GWtheme\gw\web\js\jquery.flexisel.js Then i created requirejs-config.js var ...
0
votes
0answers
753 views

Load more not working

Load more PRODUCT not working js <script type="text/javascript"> jQuery(document).ready(function() { jQuery.ias({ container : ".category-products", item : "ul....
0
votes
1answer
473 views

Magento 1.9 JS problem

I have a search autocomplete to search a products. If it works other modules are not working (banner slider, brand logo slider, product slider, sticky menu and sticky header). autocomplete has 2 js ...
0
votes
1answer
133 views

Add jQuery plugin without for whole site without a module (Magento 2)

How can I add a jQuery plugin without a module for use in the whole site. I found things about how to add it in modules: Adding a jQuery Library to Magento 2 But can I add it without a module and if ...
0
votes
1answer
306 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
1answer
542 views

How to add floating menu to magento front end just like admin

I need to add floating menu to magento front end, just like it is in admin, Some thing like this
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
44 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(){ $("....
0
votes
1answer
647 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
796 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
138 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 ...
0
votes
1answer
3k 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. ...
0
votes
1answer
397 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
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
204 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
570 views

Create Drop-down menu in shopping Cart Page

In given link , http://liferaybangalore.com/index.php add one product to cart and go to VIEW CART , Above PROCEED TO CHECKOUT Button i want to add custome code for drop-down menus like(Children ...
0
votes
1answer
240 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
462 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
2answers
479 views

Magento admin form date widget week number differs from jquery UI week number

For a project I am working on we need to know the week number which is displayed via a date form field widget in the admin section. On the front end we also show the week number but we are using a ...
0
votes
1answer
796 views

JS to use in Navigation - Toggle

I have a menu very similar to Prada's (www.prada.com). When the user clicks on the word 'MENU' I want the image to change from the lines to a cross. The cross stays until the menu is closed again. Any ...
0
votes
1answer
188 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
18 views

Magento 2.4.1: Uncaught Error: [object Object] at Object.<anonymous> (default.js:8474)

The error as the post title appears in the cart page. default.js is the bundle that I created with advanced JS bundling. You can see that this is where the error has originated from. When looking at ...
-1
votes
2answers
422 views

Slick slider is not working in Magento 2

We have integrated the slick slider on Magento 2. But, the slider is not working. I have checked the console and see there is no error. I'm not sure where am i wrong. Code in Template file: <...
-1
votes
4answers
868 views

How to use Jquery - (Where does this code go?)

Topic: Want to Jquery a mouseover cart that shows cart details ONLY when MouseOver-ing the Cart Block. (Magento 1.8.1) As of Right Now: Cart Block is in Header-Right, shows cart details without ...
-1
votes
1answer
237 views

Magento 2: How can write jquery in html file?

I try it but not working with html file <script type="text/javascript"> require(['jquery', 'jquery/ui'], function($){ jQuery(document).ready( function() { alert("Page loaded."); }); }); ...