Jump to content
rpdesign

[SSPP] Separate Shipping Per Product----Support Forum

Recommended Posts

hi

Please update me on this error

 

Fatal error: Class 'objectInfo' not found in /home/content/t/e/c/cataloge/html/includes/modules/shipping/separate.php on line 125

Share this post


Link to post
Share on other sites

do you have the latest version and what page are you on? please go through the instructions once again step by step. And do you have a template installed? this is not a default install of oscommerce What ver of OsCommerce are you using?

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

I install Separate Shipping Per Product, there was an error!

How to correct?

 

1366 - Incorrect integer value: 'No' for column 'sort_order' at row 1

 

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Enable Flat Rate?', 'MODULE_SHIPPING_SEPARATE_STATUS_FLAT', '0', 'When this is enabled along with the all setting, The flat rate will be applied to all products in the shopping cart otherwise the default table rate will be used.', '6', 'No','', 'tep_cfg_select_option(array(\'Yes\', \'No\'), ', now())

 

[TEP STOP]

Share this post


Link to post
Share on other sites

Hi Robert,

 

thank you for this great addon. I have some little problems. Installation went through, configuration seems to work. But the shipping rate does not decrease when the customer removes items from the cart.

 

Also I'm not able to set rates per category, just per product.

 

Third thing is, if I enter table rates for an item and save them, the menu on the right side disappears and I have to chose the item from the left tree again.

 

Maybe you or someione else has a hint.

 

BTW, I am using osc 2.3.3 and downloaded your module 1.5.

 

Thanks again,

 

Hermann

Share this post


Link to post
Share on other sites

The rate did not decrease, because the module seems to calculate just the shipping rate of the first product in the category, no matter which additional products with separate shipping rates I add to the cart. Strange. Maybe someone has a hint.

Share this post


Link to post
Share on other sites

I'm a newbie to oscommerce. I'm a Joomla man but had to opt for a native product for my next project.

 

It seems as if this is the module I would like to use, but... And I repeat, I'm a newbie...

 

How do I install a module in the OsCommerce from the admin side?

 

Can any body give some help here.

Share this post


Link to post
Share on other sites

Hi Robert,

 

I've downloaded and installed your module. So far it looks pretty good and does what I need it to do for my online store. A couple of questions though. I have it set for shipping based on quantity per category. All of my categories work fine (including the $1.00 handling fee I added) except one category. It reverts to the least expensive table everytime I test buy from that category. It also happen to be my most expensive category too. Second question... While adding to the table rates in a category is easy, how do you delete them if you've added to many?

 

Thanks,

Timothy

Edited by demonspeedracing

Share this post


Link to post
Share on other sites

@@Holder

This is a wrong version in that

 

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Enable Flat Rate?', 'MODULE_SHIPPING_SEPARATE_STATUS_FLAT', '0', 'When this is enabled along with the all setting, The flat rate will be applied to all products in the shopping cart otherwise the default table rate will be used.', '6', 'No','', 'tep_cfg_select_option(array(\'Yes\', \'No\'), ', now())

 

should be

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Enable Flat Rate?', 'MODULE_SHIPPING_SEPARATE_STATUS_FLAT', 'No', 'When this is enabled along with the all setting, The flat rate will be applied to all products in the shopping cart otherwise the default table rate will be used.', '6', '0','', 'tep_cfg_select_option(array(\'Yes\', \'No\'), ', now())

Try using v1.5 of my module.


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

@@hermann1505@@hermann1505

 

Also I'm not able to set rates per category, just per product.

 

Third thing is, if I enter table rates for an item and save them, the menu on the right side disappears and I have to chose the item from the left tree again.

 

Maybe you or someione else has a hint.

 

The per category is for the sub-categories, not the main categories of your shop.

 

ithe third thing reminds me of a bug i saw in my config video part 2 in where the selection went to the first productin the category. i thought i fixed it with v 1.5 but i'll take a look.


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

@@demonspeedracing

It reverts to the least expensive table everytime I test buy from that category. It also happen to be my most expensive category too. Second question... While adding to the table rates in a category is easy, how do you delete them if you've added to many?

 

Do you have a sample flat rate set up? This is a known bug in that you have to have a rate set up for flat rate in order for table rates to work. Second what do your table rates look like for your category? Third this module works for the sub-categorys only at this time. Anouther known bug sorry. Fourth, I'm going to be adding an option to delete out rates, but for now you will have to manually delete out your rate from the table. Just get the product id of the products table rate you want to delete and delete out the rate that applys to it.


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

@@zs1otb

In the zip file you should see an install.html file this will explain what files are needed to edit and where to edit them. The troubleshoot.txt file explains some known bugs and gives some solutions to the known bugs


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Update!!

I know this has been a long journy and that you have questions. If you have a question about a specific error please tell me what ver of both Oscommerce and the ver of my module that you are using along with what you were doing when the error appeared and what page the error appeared on. The more info you give me the better i can help. If it is a question about the individual addons not being compatible with mine please place a link to the addon and i'll try to recreate the bug.

 

I'll be trying to make the main categorys work with a query.

Also a delete rates function will be added along with an update function so you can update my module with a click of a button.

Also in the works is a max shipping rate to be set so you don't overcharge your customers.

 

If you have a solution please pm or email me the solution i'll be happy to include it with future versions :thumbsup: with credits to you for developing it (w00t)

 

Just know that i'm doing this from a homeless shelter and looking for work at the same time so my answers might take up to a week or two to answer.


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Urgent Update!!!!

 

So sorry folks but as i was looking into my module i noticed a major bug . :'( thanks to Soumyajit for his interest and point out.

 

The per products was not working for multiple products >_<

 

But rest assured i found out the problem and am uploading a solution by tonight. (w00t) :D


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Well that answered my next question. :)

 

I've switched from per category to per product.

I had changed my store to sub categories and added in a value of 1.00 for the flat rate but still no go.

When I added product from one particular category the shipping always defaulted to $5.00. Very weird.

 

Crossing my fingers that the new update fixes things. :)

 

Timothy

Share this post


Link to post
Share on other sites

I have already coded it and tested it! so i know it works and it is just a matter of replacing the catelog/includes/modules/shipping/separate.php file!


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Here it is boys and girls the updated separate.php file just replace your current file with this one for per product and per category to work properly. If you need to be reminded it is in catalog/includes/modules/shipping/ folder

 

 


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

I will update the module in the future to add this file :D

 

check out the demo at demo2.r-pdesign.com and select unreal tournament and maxxtor 200 grafics card should come up to $21 shipping for both and $10 for the grafics card and $11 for the game

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

@@hermann1505

yes this is the bug that got fixed with v1.6 of the module :thumbsup:

As you can see i found it out too late :-

But it works now!! (w00t)

 

Update :

 

Have figured out how to apply per qty to the rate! so if you have 2 of the same item with a flat rate of $1 it will calculate out to $2! If you want this functionality just ask it will be included in v1.7 Also, I will have a max shipping rate so that the module will not charge more than a certain amount. I'm also working on an update function to update your current ver to the latest and greatest.

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

URGENT UPDATE!!

 

Version 1.7 fixes a lot of missed bugs!

 

version number is now displayed in the configuration

 

gives you an option to turn on or off the default table rates or default flat rate

 

fixed a bug where the default table rate didn't work now the default table rate is fixed!

 

now you can select an option based on standard table rate or per item table rate For ex: if you set up a shipping rate of $1 for the first 25 items and you have 24 items in the basket this will calculate out to $24 for Table per item setting and $1 for Table setting!

 

same thing with the flat rate!! When a flat rate is applyed automaticaly overwrites the table rates!

 

Now you can apply a Max shipping rate so you dont have to overcharge your customers!

 

Main category rates work now!!!

 

sub-categorys can inherit flat rates from main categorys!!!

 

so much more to list!!!

 

will clean up the code and have it for you by tonight or tomorow!!!


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Update:

 

So just a couple of bugs to work out in the next ver.

 

Table rates have to have a flat rate set in order to work.

 

For ex:

Product 1 has a table rate set up so that the first 25 items are charged $1 shipping

you need to set up a flat rate for that product and set it to no in order to apply the table rate.

If no flat rate is set for the product the shipping calculates out to $0.00.

 

When inheriting rates from the main category the per item doesn't work for table rates, but the standard table rates work.

 

Other than these two bugs i think this will be an excellent addition!

 

DO NOT DO THE FOLLOWING STEPS BELOW UNTIL I UPLOAD THE FILES!

 

Upgrading from the old to the new is pretty easy!

 

Step1:

export your separate_rate and separate_table_rate tables in sql format or csv format if you want to edit them.

 

Step2:

Remove old separate shipping module by using the remove button within the module

 

Step3:

upload new files into shop overwriting old files.

 

Step4:

install separate shipping module.

 

Step5:

inport the saved database file

 

Step6:

enjoy :P

 

V1.8 will include a way to delete rates! And hopefully an update function and to fix the two bugs in v1.7 mentioned above

 

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Just uploaded new v1.7 files please report any bugs!


Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

@@aliscomputer

Fatal error: Class 'objectInfo' not found in /home/content/t/e/c/cataloge/html/includes/modules/shipping/separate.php on line 125

line 30 of separate.php should read

if ( $page == DIR_WS_HTTP_CATALOG . " /html/ " . FILENAME_CHECKOUT_SHIPPING ){

 

if you debug the module you should see a path such as /html/checkout_shipping.php this is why we put an /html/ in it please play with the backslashs "/" if the line above doesn't work

or uncomment out line 27 like such:

 

echo $page;

 

this will give you an idea of where your checkout_shipping.php page is at

 

not only that but installing the catalog files into a different folder than the default will cause problems down the road with addons. I suggest that you get away from templates or know how the basic structure of oscommerce works before adding addons.

 

Also the version of my module your using has had a few bugs and has been fixed with the last ver 1.7. please download the latest ver from my signature below

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

I am having problems with configuring my shipping module. It seems as if some files are missing or something along those lines. When I want to activate a module and click on it to do so nothing happens. I have to have multiple shipping options per manufactures request. IE fedex, usps, free etc. I would greatly appreciate any help that can be offered. Thanks!

Share this post


Link to post
Share on other sites

@@cwymarketing

Are you using my module? what ver of oscommerce are you running? Do you want a custom ver of my module?

 

My module as it now stands does not have specific shipping vendor support but it is in the works. What my module does do is separate shipping rates per product or per category. And by qty,price or weight for the table rates

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×