The javascript tag has no wiki summary.
0
votes
2answers
40 views
Add to cart error : ReferenceError: productAddToCartForm is not defined [closed]
I am stuck here when i click on add to cart button the firefox console is giving the following error. ReferenceError: productAddToCartForm is not defined i have tried adding the $.noConflict() and ...
0
votes
0answers
13 views
widget slideshow del(this) not defined [closed]
Working on a slideshow that came within a purchased theme and the delete button for the slideshow itself does not work. Here is the delete button javascript to give some background.
$delButton = ...
1
vote
1answer
36 views
Setting AJAX URL for custom module
I have a JavaScript file in /js/mds/mds_collivery.js. In it I have an AJAX call that should go to magento_install_url/collivery/ajax/cptypes. It will only be used in /checkout/onepage/.
However, if I ...
3
votes
2answers
60 views
Google CDN jQuery with Local Fallback in Magento Layout XML
I've done the following to include jQuery from Google CDN in Magento:
<default>
<reference name="head">
<block type="core/text" name="google.cdn.jquery">
...
1
vote
2answers
61 views
Integrating chosen.js Prototype or jQuery
Has anyone got chosen.js working on Magento 1.7x?
I've seen one thread talking about problems with it and Magento validation.
If someone knows if it works can he show me how to do it?
0
votes
2answers
89 views
How to refresh Cart using PHTML file with AJAX Magento?
In following File, there is a file "reload.php"
But i want to use "myajaxcart.phtml" in Magento, How ??
Is it possible to use .phtml there, as magento doesn't allow direct access to .phtml files ??
...
0
votes
2answers
30 views
Jquery prototype conflict IE7 and 9 already using noConflict()
I am using noConflict() function within a template page on a Magento site and I'm pretty sure my code is in the correct order on the following page (view page source): ...
0
votes
1answer
61 views
Magento displays same page inside the visible page when trying to send/receive data from another php [closed]
I'm trying to make a new functionality on a custom backend module that I've created a few weeks ago.
The new functionality consists in making a query in order to list in a 'select-option' some data ...
0
votes
1answer
33 views
Show Attribute selection upon button click only when prior attribute selected
The following is edited code from the configurable products block on the detail page of each configurable product. It is the block that populates with the select drop downs such as "color". I am ...
0
votes
1answer
58 views
Is it possible to display an attribute from an associated product in magento?
I am working on an ecommerce website. We are showing the nutrition facts for each product and most products are configurable products and these products have different flavors. Since they have ...
0
votes
1answer
37 views
Simulate click and set guest in checkout/onepage/ (skipping first step)
I was wondering, can we (and how) emulate a click and set guest in checkout/onepage/ (skipping first step)
Ofcourse there is a plugin, but we have had some bad experiences with this (Crius skipstep) ...
0
votes
2answers
214 views
Magento adding css and js includes to the footer
I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.
At the moment I'm using a head reference tag in the layout XML and using addJs and ...
0
votes
0answers
25 views
Javascript validation for international char-sets
I have a several store views for different languages and we're having some trouble with the new customer sign up forms. We have added the character set init statement for our database as follows:
...
1
vote
1answer
25 views
Can't find callbackFunction
I've been looking all over the place and I can't find what this is:
updateCallback : function(elm, status) {
if (typeof elm.callbackFunction != 'undefined') {
...
0
votes
1answer
81 views
Magento remove prices from Downloadable products
We have downloadable products without price (0.00€) and added the mysterious price.phtml. Everything works fine, except that the price isn't showed.
I checked with xdebug and the price is printed, ...
0
votes
0answers
154 views
Adding simple age verification
I want to add a simple javascript based age verification splash box that uses cookies as well.
I tried to integrate this datepicker for the purpose of age verification.
The index.html, javascript ...
0
votes
1answer
213 views
How to access the Magento API from native client with JavaScript
I need to access the Magento API from a local JavaScript based application (Titanium Desktop) and wondering what's the best way to do so.
What I found out so far:
The only authentication mechanism ...
1
vote
2answers
218 views
Slidesjs pagination image is always hidden but can on the function if mouse hovers over
Using Magento Go due to other users lack of developer knowledge.
Slidesjs has been added relatively simply and works except for the pagination, the image has been stored in the media storage system, ...
3
votes
1answer
74 views
Magento Go, referencing a JS file attached to a theme in a CMS static block?
If I want to reference a JS file in a CMS block and the js file has been attached to the theme, how is it done? The CMS block has the script:
<script>
...
0
votes
2answers
122 views
AJAX validation form in custom backend module
I create custom module and would like to validate the input fields such date.
I tried in Form.php
public function _prepareForm()
{
$form = new Varien_Data_Form(array(
...
3
votes
3answers
388 views
Move all Javascript includes to before </body>
Does anyone know how to have all of Magento's JS script tags e.g. <script type="text/javascript" src="http://sitename.com/js/prototype/prototype.js"></script> render out before the closing ...
1
vote
4answers
69 views
How can I easily test variations of the “Add to cart” button?
It seems most of the A/B and multivariate experiments ask you to create entirely new pages, which is not possible for 10,000 products. I only want to try different add to cart buttons, so wouldn't it ...