delete13
-
Posts
19 -
Joined
-
Last visited
Posts posted by delete13
-
-
Also, on line 77 and 78, you are using 'form[name=cart_quantity]'
Should it be 'form[name=boxcart_quantity]' ?
No don't look for bugs that doesn't exists lol
there is cart_quantity to uptdate shopping_cart page and boxcart_quantity to update shopping cart infoboxe !
-
Is it possible that line 77 or 78 is the culprit?
Yes i think the URL is not perfectly encoded :
change this :
url: encodeURI($('form[name=cart_quantity]').attr('action')) + '&show_total=1&ajax=1',
by this :
url: encodeURI($('form[name=cart_quantity]').attr('action')) + '?show_total=1&ajax=1',
the best way is to encode the URL like this but i don't test it :
url: encodeURI($('form[name=cart_quantity]').attr('action') + '?show_total=1&ajax=1'),
I hope that will work for you !
-
Everything works but instead of the total price being updated in the shopping-cart-box, a whole new oscommerce window opens INSIDE the shopping cart box. In opera the whole thing just hangs or crashes. Ive tried on seveal PCs, but same issue.
Dear Sir,
Sure ! You're right.
There is a mistake in jquery-oscart.js line 120 and i never had feedback about this problem :
Look for '?action=show_total&ajax=1' change to '?show_total&ajax=1'
If you could update the package that will be great for other people too.
Thx in advance.
Olivier
-
j'ai quitte Marseille il y'a plus que trente ans
Currently, i don't stay in Marseille but in Bangkok, another amazing place !
I'm sure you know my friend Michel,
one of the last best fisherman in Marseille !Yes it's possible but need a custom developpment
-
Bonjour oui je suis de Marseille ;)
Your link go to a slidding shopping cart not a flying shopping cart (like in the contribution),
The only way is to coding by yourself or to purchase a custom developpement.
-
Sure, the link is inside the contribution !
-
The third version contain all instructions and solved all problems for those i had a feed back (excepted the CHARSET issue related in this topic)
This version supports also products attributes
I haven't any feed back about flying problems or "unable to determine page link" issues
Because the demonstration URL is in the readme file and regarding my apache logs : this contribution has been downloaded at least 190 times since 3 days ...
-
A -> When you take out all the items clicking in remove, the total value doesn't update to 0,00.
Problem corrected by some changes :
in boxes/shopping_cart.php look for
$cart_contents_string = '';
Replace by
$cart_contents_string = tep_draw_form('boxcart_quantity', tep_href_link(FILENAME_SHOPPING_CART, 'action=update_product')) ;
Update .JS file from the new package http://addons.oscommerce.com/info/7477
-
B -> special Portuguese, spanish and other chars after a few clicks get replaced by a question mark in shopping cart:
á -> á
ç -> ç
ã -> ã
Yes i know that issue, you have to declare the content/type of file when shopping cart is called in AJAX :
if ( (int)$_GET['ajax'] != 1 && $_SERVER['HTTP_X_REQUESTED_WITH'] != 'XMLHttpRequest' ) { ......... } else { header("Content-Type:text/html; charset=' . CHARSET . '"); }
-
jQuery / Ajax shopping cart for osCommerce v2.2 RC2a
- Fly to Cart product image to cart on product page
- Ajax Add/Remove buttons in cart
- Ajax Delete button in cart
- Ajax Remove button in shopping_cart infobox
- Dynamically refresh of shopping_cart infobox
- Multilanguage support
- Online Demonstration
http://addons.oscommerce.com/info/7477
Enjoy ;)
-
I'm the contributor... if you speak french send me an MP
;)
-
Thank's for your great contribution.
And update for your mobile_redirect.php :
function needRedirect() { if($this->isCancelled()) return false; if(strpos($_SERVER['SCRIPT_NAME'],$this->mobileDir . $this->mobileFile) > 0) return false; if(tep_browser_detect('iPhone') || tep_browser_detect('iPod')) return 'iPhone'; if(tep_browser_detect('IEMobile')) return 'iPhone'; if(tep_browser_detect('Blackberry')) return 'Blackberry'; if(tep_browser_detect('Nokia')) return 'Nokia'; if(tep_browser_detect('SonyEricsson')) return 'SonyEricsson'; if(tep_browser_detect('Opera Mobi')) return 'OperaMobi'; if(tep_browser_detect('Opera Mini')) return 'OperaMini'; if(tep_browser_detect('MAUI_WAP_Browser')) return 'GenericWAP'; if(tep_browser_detect('alcatel')) return('alcatel'); // Alcatel Browser (PDA/Phone browser) if(tep_browser_detect('lg-')) return('lg-'); // LG (PDA/Phone browser) if(tep_browser_detect('ericsson')) return('ericsson'); // Ericsson Browser (PDA/Phone browser) if(tep_browser_detect('mot-')) return('mot-'); // Motorola Browser (PDA/Phone browser) if(tep_browser_detect('panasonic')) return('panasonic'); // Panasonic Browser (PDA/Phone browser) if(tep_browser_detect('philips')) return('philips'); // Philips Browser (PDA/Phone browser) if(tep_browser_detect('sagem')) return('sagem'); // Sagem (PDA/Phone browser) if(tep_browser_detect('samsung')) return('samsung'); // Samsung (PDA/Phone browser) if(tep_browser_detect('sie-')) return('sie-'); // SIE (PDA/Phone browser) if(tep_browser_detect('sec-')) return('sec-'); // Sony/Ericsson (PDA/Phone browser) if(tep_browser_detect('sonyericsson')) return('sonyericsson'); // Sony/Ericsson Browser (PDA/Phone browser) if(tep_browser_detect('mmef')) return('mmef'); // Microsoft Mobile Explorer (PDA/Phone browser) if(tep_browser_detect('mspie')) return('mspie'); // MS Pocket Internet Explorer (PDA/Phone browser) if(tep_browser_detect('wapalizer')) return('wapalizer'); // WAPalizer (PDA/Phone browser) if(tep_browser_detect('wapsilon')) return('wapsilon'); // WAPsilon (PDA/Phone browser) if(tep_browser_detect('webcollage')) return('webcollage'); // WebCollage (PDA/Phone browser) if(tep_browser_detect('up.')) return('up.'); // UP.Browser (PDA/Phone browser) if(tep_browser_detect('docomo')) return('docomo'); // I-Mode phone (PDA/Phone browser) if(tep_browser_detect('portalmmm')) return('portalmmm'); // I-Mode phone (PDA/Phone browser) return false; }
;)
-
im getting same thing, someone know whats wrong with those links?
I've updated this contribution today (language & xHTML update) without checking this thread, and i'd the same problem :blush:
Do you know where we can found the new links ?
Thank's a lot.
-
Thank you for your reply, but i am still having trouble. Please post what the code looks like:
<td class="main"><?php require('carousel/carousel.php') ; echo TEXT_MAIN;?></td><valign="middle"><div align="center"><?php echo tep_image(DIR_WS_IMAGES . '', ''); ?></td>
;)
-
and in the body <?php require('carousel/carousel.php') ; ?>" Could someone please post the code so l can see what it looks like when everything is inserted. Thank you.
For exemple after or before echo(TEXT_MAIN); you simply add this line require('carousel/carousel.php') ;
@spooks same case for some clients doesn't have flash installed on their PC
-
Pardon?..... This is flash, thats javascript, no comparison.
Flash equal copyright's.
--
You can find lot of javascript frameworks for free.
Thanks to the authors.
-
jQuery/Ajax Shopping Cart
in General Add-Ons Support
Posted
You could change it by this one :
I tried before HTTP_X_REQUESTED_WITH, i like this method but seems to be uncompatible with some server and particulary with MSIE (...)
To avoid page directly page call with ajax parameter (from a non ajax requester) i also modified tep_href_link in html_output.php but it is not needed in this contribution, but i still post the code :
html_output.php / tep_href_link