Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Types of Shipping Modules Manage


  • You cannot reply to this topic
3 replies to this topic

#1 chetankayastha

  • Community Member
  • 5 posts
  • Real Name:chetan

Posted 27 December 2011, 09:26

I have 2 Types of Products 'a' & 'b'.
Also I have 3 Modules Installed as Shipping Modules, say Flat, Table & UPS.

Requirement [img]http://forums.oscommerce.com//public/style_emoticons/default/devil.gif[/img]
case 1: In selection of Product Type 'a' - Flat has to come.
case 2: In selection of Product Type 'b' - UPS & Table has to come.
case 3: In selection of Product Type 'a' + 'b' - All 3 must come with users to have choice to select between UPS & Table.

I have managed case 1 and 2 by updating shopping_cart.php, checkout_shipping.php and includes/classes/shipping.php.
All I am stock is in case 3.
Any Help, Please.[img]http://forums.oscommerce.com//public/style_emoticons/default/blush.png[/img] [img]http://forums.oscommerce.com//public/style_emoticons/default/sweatingbullets.gif[/img] [img]http://forums.oscommerce.com//public/style_emoticons/default/sleep.png[/img] [img]http://forums.oscommerce.com//public/style_emoticons/default/dry.png[/img]

#2 chetankayastha

  • Community Member
  • 5 posts
  • Real Name:chetan

Posted 27 December 2011, 11:18

Let me simplify by taking example of osC default setup

I have 2 Types of Products 'a' & 'b' with 3 Modules Installed as Shipping - Flat, Per Item & Zone Rates.

Requirement
case 1: In selection of Product Types 'a' - Zone Rates has to come.
case 2: In selection of Product Types 'b' - Flat & Per Item has to come.
case 3: In selection of Product Types 'a' & 'b' - All 3 must come with users to have choice to select between Flat & Per Item.

I have managed case 1 and 2 by updating:
shopping_cart.php, checkout_shipping.php, includes/classes/shipping.php and little fields add in database.
But I could not manage case 3.

Post if anyone has faced and solved such problem.

#3 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 27 December 2011, 12:13

Please only post once

http://forums.oscommerce.com/topic/382428-looking-for-best-way-to-configure-shipping/page__fromsearch__1
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.

#4 chetankayastha

  • Community Member
  • 5 posts
  • Real Name:chetan

Posted 11 January 2012, 12:16

Vendor Manager Contribution
Though it is not quite easily available, and the available one needs to code a bit.
It solved the Issue.
Thanks.