osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Quantity Box in OSCMAX

This is a discussion on Quantity Box in OSCMAX within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi Folks I am trying to install the quantity box addon osCommerce Community Add-Ons into OSCMAX V2.0 RC3 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 01-11-2008, 03:23 AM
New Member
 
Join Date: May 2004
Location: Meath, Ireland
Posts: 22
Thanks: 3
Thanked 3 Times in 3 Posts
Rep Power: 0
khennessy
Red face Quantity Box in OSCMAX

Hi Folks

I am trying to install the quantity box addon osCommerce Community Add-Ons into OSCMAX V2.0 RC3

Have followed the instructions, but cannot get the quantity to update in the cart.

I think the problem is in application_top.php where you are supposed to find:
$HTTP_POST_VARS['id']))+1

Replace with:
$HTTP_POST_VARS['id']))+$HTTP_POST_VARS['quantity']

in oscmax the file is different
line 1077 reads
$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']);


but changing the +1 doesn't work

any help appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 02-12-2008, 04:11 AM
New Member
 
Join Date: May 2004
Location: Meath, Ireland
Posts: 22
Thanks: 3
Thanked 3 Times in 3 Posts
Rep Power: 0
khennessy
Default Re: Quantity Box in OSCMAX

Ok finally figured it out

replace (approx line 826)

$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+ 1, $attributes);

// EOF: MOD - QT Pro

With

$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+$HTTP_POST_VARS['quantity'], $attributes);

// EOF: MOD - QT Pro


and it works a treat!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
add Quantity Price Breaks Per Product mod to OSCMAX lazua osCMax v2 Customization/Mods 10 09-07-2007 06:16 PM
Quantity Pro error. NeoTech osCMax v2 Features Discussion 0 12-04-2006 01:20 AM
Product Quantity Box auntie22 osCMax v1.7 Discussion 13 10-06-2005 03:21 AM
Help Quantity BUG... djlane osCMax v1.7 Installation 1 07-02-2005 06:17 PM
quantity mod...newbie needs help mediareaction osCommerce 2.2 Modification Help 2 11-17-2004 11:14 AM


All times are GMT -8. The time now is 09:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax