Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I use this and its working in Firefox and IE, but now its showing erro in IE, in the bottom of IE.

The erro the like the following:

 

Details about the error on the website

Message: An unknown runtime error

Line: 274

Character: 25

Code: 0

URI: http://www.mysite/ajax/javascript/ajax_sc.js

 

I need help please.

 

did you upload the newest version of ajax_sc.js?

  • 4 weeks later...
  • 3 months later...
  • 2 weeks later...
Posted

Hello,

 

thank you for great script and the update. But when I upload the new ajax_sc.js file all my jquery scripts stop working (they disappear). Can someone suggest how I could fix this?

 

thank you in advance

  • 9 months later...
Posted

hi guys,

i realy need your help to improve my site.... i am using Ajax Buy Now addons.. that is realy great. but need some changes in this cart design

 

 

i need like.

 

qty | item name Remove

---------------------------------------------------

1 | item name1 x

--------------------------------------------------

2 | item name 2 x

 

 

where x is a delete button...

i am able to show all the 3 fields qyt, item name, price, but only i have problem with remove button

I want add this button on ajax buy now order cart to remove the individual items...

 

 

please help me.. thanks in advance

post-313524-0-07617400-1343981587_thumb.jpg

  • 1 month later...
Posted

After the script stopped working on the product list page (index.php), while still working on the product page (product_info.php), I tried the fix on the Ajax buy now contribution site - uploaded new ajax_sc.js file, but it broke majority of my jquery scripts.

So I compared the old and new ajax_sc.js file, ignored the bulk of the new code at the start and performed only smaller changes:

 

replace (around line 249)

   if (s.setAttribute) s.setAttribute('src', href); else s.src = href;

 

with

 

s.type = "text/javascript";
			//if (s.setAttribute) s.setAttribute('src', href); else s.src = href;

			$.get(
				href,
				function(data) {
					s.innerHTML = data;
				}
			);

 

replace (around line 416)

reqAddCart.caching = false;
reqAddCart.open('GET', link, true);
reqAddCart.send(null);

 

with

 

reqAddCart.caching = false;
reqAddCart.open('GET', link, true);
reqAddCart.send();

 

Now it works for me, together with my jquery scripts. Tested in Safari (Mac), IE (Win), Chrome (Win&Mac) and Firefox (Win&Mac).

Posted

ops there was a mistake in my previous post - the first line should be removed from the script (or commented out):

 

replace (around line 416)

reqAddCart.caching = false;
 reqAddCart.open('GET', link, true);
 reqAddCart.send(null);

 

with

 

//reqAddCart.caching = false;
 reqAddCart.open('GET', link, true);
 reqAddCart.send();

  • 2 months later...
Posted

I'm running osc 2.3.1 and I have everything working, except for the cart update process. my theme just shows total items in the cart. I need to have this functionality. any ideas?

  • 1 month later...
Posted

hi friends please help me . i think my sybsys.php is not correct could you please help me guys because its printing the html code not actual design view in ajax_shopping_cart.php

 

please help me.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...