Hi,
I have a live shop on designurt.com, I am using 3.0a5 version of Oscommerce. I am facing following problems:
1. In checkout.php page order total now showing correctly for example It showing like this:
Product 1 Rs599.00
Subtotal Rs599.00
Flat Rate (Best Way): Rs150.00
Total: Rs150.00
It should show Total amount: Rs749.00 (Item price+shipping=total).
2. When I add color variant to product it doesn't work and I get following js error in a webpage (http://www.designurt.com/products.php?Beans) mentioned below:
Webpage error details
Message: 'document.getElementById(...)' is null or not an object
Line: 77
Char: 3
Code: 0
URI: http://www.designurt.com/templates/default/javascript/products/info.js
And it doesn't proceed to Add to cart page.
If any one can help me effort would be appreciated.
Thanks
Rakesh Sharma
Latest News: (loading..)
Order Totaling Module
Started by Rakesh Sharma, Sep 02 2010, 10:17
5 replies to this topic
#1
Posted 02 September 2010, 10:17
#2
Posted 03 September 2010, 00:19
If you simply modified the stock osc3.0a5 without researching the issues then your store will not work correctly.
A good starting base to use is found here:
http://addons.oscommerce.com/info/7379/v,30
From experience with osc3.0a5, "order totals" appear bug free.
If you had not made changes to affect the operation then you might want to check your currency configuration.
Title: Rupees
Code: INR
Left Symbol: Rs
Right Symbol:
Decimal Places: 2
Currency Value: 1.00000000
Then check the shipping module that you have just a decimal for the flat rate, eg; 65.00
For variants, you might get some issues after you delete a product with variants and then create more products with variants. This is because the delete function is broken.
You will need to manually clear the relevant records from the database and fix the bug in the code.
A good starting base to use is found here:
http://addons.oscommerce.com/info/7379/v,30
From experience with osc3.0a5, "order totals" appear bug free.
If you had not made changes to affect the operation then you might want to check your currency configuration.
Title: Rupees
Code: INR
Left Symbol: Rs
Right Symbol:
Decimal Places: 2
Currency Value: 1.00000000
Then check the shipping module that you have just a decimal for the flat rate, eg; 65.00
For variants, you might get some issues after you delete a product with variants and then create more products with variants. This is because the delete function is broken.
You will need to manually clear the relevant records from the database and fix the bug in the code.
Edited by blackwater, 03 September 2010, 00:19.
#3
Posted 03 September 2010, 06:14
blackwater, on 03 September 2010, 00:19, said:
If you simply modified the stock osc3.0a5 without researching the issues then your store will not work correctly.
A good starting base to use is found here:
http://addons.oscommerce.com/info/7379/v,30
From experience with osc3.0a5, "order totals" appear bug free.
If you had not made changes to affect the operation then you might want to check your currency configuration.
Title: Rupees
Code: INR
Left Symbol: Rs
Right Symbol:
Decimal Places: 2
Currency Value: 1.00000000
Then check the shipping module that you have just a decimal for the flat rate, eg; 65.00
For variants, you might get some issues after you delete a product with variants and then create more products with variants. This is because the delete function is broken.
You will need to manually clear the relevant records from the database and fix the bug in the code.
A good starting base to use is found here:
http://addons.oscommerce.com/info/7379/v,30
From experience with osc3.0a5, "order totals" appear bug free.
If you had not made changes to affect the operation then you might want to check your currency configuration.
Title: Rupees
Code: INR
Left Symbol: Rs
Right Symbol:
Decimal Places: 2
Currency Value: 1.00000000
Then check the shipping module that you have just a decimal for the flat rate, eg; 65.00
For variants, you might get some issues after you delete a product with variants and then create more products with variants. This is because the delete function is broken.
You will need to manually clear the relevant records from the database and fix the bug in the code.
#4
Posted 04 September 2010, 13:26
My above first issue related to order totaling has been fixed. Actually it was my mistake in some file. Now order total is working fine.
#5
Posted 04 September 2010, 14:33
In any case, if your product database has become corrupt because of the delete function then:
1. Fix delete product code.
[indent]/catalog/admin/includes/applications/categories/classes/categories.php
/catalog/admin/includes/applications/products/classes/products.php
/catalog/admin/includes/applications/products/products.php
you can find these updated files in the download link I posted earlier.[/indent]
2. Backup Database
2. Install Smoothe Populate
3. Export Complete product .csv to temp directory
4. Delete all categories which in turn deletes all products
5. Manually clear out orphaned entries from the database in:
[indent]osc_categories
osc_categories_description
osc_manufactures
osc_manufacturers_info
osc_products
osc_products_description
osc_products_images
osc_products_to_categories
osc_products_variants
osc_products_attributes[/indent]
6. Import Complete .csv from temp directory with SP
If problem persist, investigate other changes that were made to the code possibly compounding the problem.
1. Fix delete product code.
[indent]/catalog/admin/includes/applications/categories/classes/categories.php
/catalog/admin/includes/applications/products/classes/products.php
/catalog/admin/includes/applications/products/products.php
you can find these updated files in the download link I posted earlier.[/indent]
2. Backup Database
2. Install Smoothe Populate
3. Export Complete product .csv to temp directory
4. Delete all categories which in turn deletes all products
5. Manually clear out orphaned entries from the database in:
[indent]osc_categories
osc_categories_description
osc_manufactures
osc_manufacturers_info
osc_products
osc_products_description
osc_products_images
osc_products_to_categories
osc_products_variants
osc_products_attributes[/indent]
6. Import Complete .csv from temp directory with SP
If problem persist, investigate other changes that were made to the code possibly compounding the problem.
#6
Posted 04 September 2010, 14:40
blackwater, on 04 September 2010, 14:33, said:
In any case, if your product database has become corrupt because of the delete function then:
1. Fix delete product code.
[indent]/catalog/admin/includes/applications/categories/classes/categories.php
/catalog/admin/includes/applications/products/classes/products.php
/catalog/admin/includes/applications/products/products.php
you can find these updated files in the download link I posted earlier.[/indent]
2. Backup Database
2. Install Smoothe Populate
3. Export Complete product .csv to temp directory
4. Delete all categories which in turn deletes all products
5. Manually clear out orphaned entries from the database in:
[indent]osc_categories
osc_categories_description
osc_manufactures
osc_manufacturers_info
osc_products
osc_products_description
osc_products_images
osc_products_to_categories
osc_products_variants
osc_products_attributes[/indent]
6. Import Complete .csv from temp directory with SP
If problem persist, investigate other changes that were made to the code possibly compounding the problem.
1. Fix delete product code.
[indent]/catalog/admin/includes/applications/categories/classes/categories.php
/catalog/admin/includes/applications/products/classes/products.php
/catalog/admin/includes/applications/products/products.php
you can find these updated files in the download link I posted earlier.[/indent]
2. Backup Database
2. Install Smoothe Populate
3. Export Complete product .csv to temp directory
4. Delete all categories which in turn deletes all products
5. Manually clear out orphaned entries from the database in:
[indent]osc_categories
osc_categories_description
osc_manufactures
osc_manufacturers_info
osc_products
osc_products_description
osc_products_images
osc_products_to_categories
osc_products_variants
osc_products_attributes[/indent]
6. Import Complete .csv from temp directory with SP
If problem persist, investigate other changes that were made to the code possibly compounding the problem.














