CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services

Welcome Guest ( Log In | Register )

> CubeCart Core Product Support

Please note core product support can be requested in the official cubecart.com forums. Alternatively, click here to hire a third-party service provider to help with your support issue.

 
Reply to this topicStart new topic
> Prices don't add up?, Huh?
merit-badge
post Apr 14 2008, 07:51 PM
Post #1


Newbie
Group Icon

Group: Members
Posts: 4
Joined: 10-January 08
Member No.: 2,911



I received an order today, and the prices don't add up. One thing to note is that, even though the customer bought 2 of the same item (Birthday Garden), they appeared separately on the invoice, each with a quantity of 1, instead of only one line for the product with a quantity of 2.

Is there a fix to make sure this doesn't happen anymore?

Here is a screen shot to help illustrate.


--------------------
Success is an open door, unlike my happiness which is a locked vault.
The key to success is at the place with the thing and the other thing. Now go get it.
Go to the top of the page
 
+Quote Post
Robsta
post Apr 14 2008, 07:54 PM
Post #2


Skin Developer
Group Icon

Group: Administrator
Posts: 5,689
Joined: 11-March 07
From: Exmouth, UK
Member No.: 2

Catalogue Listing
About Us
Store Review Here



I think this is a question for Develion themselves. Try the CubeCart.com forum, or submit a support ticket to them.


--------------------
*NEW* - Customer Account and Session Box for v4 (v3 also available)
Visit our Store Essentials page - Browse some of our product range in the CubeCartForums.org Catalogue!

Search Engine Sitemap Feed for v4 (v3 also available) - RSS Feed for v4 (v3 also available) - *NEW*
Go to the top of the page
 
+Quote Post
estelle
post Apr 18 2008, 10:03 AM
Post #3


Super Member
Group Icon

Group: Commercial Contributor
Posts: 553
Joined: 14-March 07
From: Australia
Member No.: 20

Catalogue Listing
About Us
Store Review Here



This bug has been carried over from CubeCart 3.0.15 sad.gif

EDIT within includes/content/cart.inc.php

FIND this block:
CODE
if (isset($_POST['quan'])) {
    foreach($_POST['quan'] as $key => $value) {
        $cart->update($key, $value);
    }
    $refresh = true;
}


REPLACE it with this:
CODE
if (isset($_POST['quan'])) {
    $cart->unsetVar("invArray");
    foreach($_POST['quan'] as $key => $value) {
        $cart->update($key, $value);
    }
    $refresh = true;
}



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


Estelle's Mod Store --> For help with any of my mods please use my contact page!

I am unable to visit these forums regularly so use my contact page if you want a timely response!


Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry
View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more!
Go to the top of the page
 
+Quote Post
CCS-DM
post Apr 21 2008, 10:02 PM
Post #4


Newbie
Group Icon

Group: Members
Posts: 6
Joined: 21-July 07
Member No.: 1,008



Hi Estelle, would this fix work with CC 3.0.15 as I have a store which this has happened to in the past.
I would upgrade to CC 3.0.17 but the store is quite heavily modded, so I am planning on redesigning it for CC v4.

Dean


QUOTE (estelle @ Apr 18 2008, 10:03 AM) *
This bug has been carried over from CubeCart 3.0.15 sad.gif

EDIT within includes/content/cart.inc.php

FIND this block:
CODE
if (isset($_POST['quan'])) {
    foreach($_POST['quan'] as $key => $value) {
        $cart->update($key, $value);
    }
    $refresh = true;
}


REPLACE it with this:
CODE
if (isset($_POST['quan'])) {
    $cart->unsetVar("invArray");
    foreach($_POST['quan'] as $key => $value) {
        $cart->update($key, $value);
    }
    $refresh = true;
}

Go to the top of the page
 
+Quote Post
estelle
post Apr 22 2008, 01:26 AM
Post #5


Super Member
Group Icon

Group: Commercial Contributor
Posts: 553
Joined: 14-March 07
From: Australia
Member No.: 20

Catalogue Listing
About Us
Store Review Here



Dean,

Yes, if you have CubeCart 3.0.15 or earlier you should add this exact same fix to your store.

Estelle.


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


Estelle's Mod Store --> For help with any of my mods please use my contact page!

I am unable to visit these forums regularly so use my contact page if you want a timely response!


Exciting new mods --> Coupon Enhancements :: Shipping and Tax Estimates :: Wish List / Gift Registry
View my extensive list of quality mods including --> 'All In One' Shipping with Postcodes :: Stock Levels for Product Options :: Custom Product Sort :: Related Products :: Product Quantity Discounts :: Advanced Contact Forms :: Pro Image Manager :: and many more!
Go to the top of the page
 
+Quote Post
CCS-DM
post Apr 22 2008, 06:34 PM
Post #6


Newbie
Group Icon

Group: Members
Posts: 6
Joined: 21-July 07
Member No.: 1,008



QUOTE (estelle @ Apr 22 2008, 02:26 AM) *
Dean,

Yes, if you have CubeCart 3.0.15 or earlier you should add this exact same fix to your store.

Estelle.


Thanks for the that Estelle, just been looking for it in the file and cant find the block of code, around which line should it be?

Dean

This post has been edited by CCS-DM: Apr 22 2008, 06:53 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 9th February 2010 - 08:52 AM
© 2007 - 2010  CubeCartForums.org in association with Inspired Solutions. Sponsored by Devellion