MVS 1.2.3 with OSC 2.3 (SHIPPING MODULES)
#1
Posted 02 April 2011, 20:57
all the files in the instructions, or should I put the modded modules in the regular shipping directory?
I guess this would answer some other questions I have about some of the errors that I am getting. When I try to install the modded table shipping module I get the following error:
Warning: Missing argument 1 for table::keys(), called in
/home/www/example.com/admin/modules.php on line 155 and defined in
/home/www/example.com/includes/modules/shipping/table.php on line 224
Thanks in advance for the help!
All the best,
Clarence
#2
Posted 02 April 2011, 21:50
Your error message is referring to the original module, not the MVS modified one. This tells me that you have MVS turned off in your Admin >> Configuration >> Shipping/Packaging >> Enable Vendor Shipping. If that is set to true, you have some missing file mods somewhere.
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#3
Posted 02 April 2011, 22:48
kymation, on 02 April 2011, 21:50, said:
Your error message is referring to the original module, not the MVS modified one. This tells me that you have MVS turned off in your Admin >> Configuration >> Shipping/Packaging >> Enable Vendor Shipping. If that is set to true, you have some missing file mods somewhere.
Regards
Jim
Hey Jim, thanks for you fast reply and help with this.
I already had Vendor Shipping enabled, and the error was due to me putting the modded table module in the regular "shipping" directory. Thankfully, before I mod anything I always keep backups :-)
I just put back the original table file in the shipping directory, and put the modded table file in vendors_shipping. No errors on the admin side, but now during checkout, it won't get past checkout_shipping.php. I get "Error: You have not selected a shipping method for all groups of products. Please select one shipping method for each group of products below."
I sure hope I didn't miss any files to mod. When I installed I went over everything with a fine tooth come, considering the 134 files.
Do you have any suggestions on trouble shooting which mod files are missing, if in fact, any are missing? Also, in admin, under shipping modules, when Vender Shipping is enabled, I don't see the options for the new modules to install. Since, MVS 1.2.3 was intended for OSC 2.2 -- when clicking on Vendors tab in admin, the left column displays differently, too. Not sure if there should be any sub-links under the vendors tab in admins? I currently don't see any.
Thanks and all the best,
Clarence
#4
Posted 02 April 2011, 23:02
<?php /* $Id: vendors.php $ $Loc: /catalog/admin/includes/boxes/ $ $Mod: MVS V1.3 2010/02/28 Kymation $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2011 osCommerce Released under the GNU General Public License */ $cl_box_groups[] = array( 'heading' => BOX_HEADING_VENDORS, 'apps' => array( array( 'code' => FILENAME_VENDORS, 'title' => BOX_VENDORS, 'link' => tep_href_link(FILENAME_VENDORS) ), array( 'code' => FILENAME_PRODS_VENDORS, 'title' => BOX_VENDORS_REPORTS_PROD, 'link' => tep_href_link(FILENAME_PRODS_VENDORS) ), array( 'code' => FILENAME_ORDERS_VENDORS, 'title' => BOX_VENDORS_ORDERS, 'link' => tep_href_link(FILENAME_ORDERS_VENDORS) ), array( 'code' => FILENAME_MOVE_VENDORS, 'title' => BOX_MOVE_VENDOR_PRODS, 'link' => tep_href_link(FILENAME_MOVE_VENDORS) ) ) ); ?>You need to use the Vendor Manager to install shipping modules for each vendor. See the usage.txt file in the MVS distribution for instructions.
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#5
Posted 03 April 2011, 00:51
I went ahead and updated the vendors box and it now displays correctly :-) I then installed the table module to a vendor, assigned a product to a vendor, tested a product from that vendor, but still did not get past checkout_shipping.php.
For some reason, the shipping table options for that vendor is not being displayed on checkout_shipping.php either.
Does anything need to be modded in the checkout_shipping.php (OSC 2.3) file to make it pass that stage and display the shipping rate properly for the vendor?
Thanks,
Clarence
#6
Posted 03 April 2011, 01:12
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#7
Posted 03 April 2011, 02:49
Don't know how I missed modding the checkout_shipping.php the first time... I just updated it and it led me to discover other mods that I somehow missed. I also need to update the "new files" distributed with the MVS 1.2.3 to fix some display issues with OSC 2.3 (removing the table structures and replacing with divs...).
I'll keep updating till perfect and report back here when I update all the files.
I really appreciate your help Jim
Have a great night!
Clarence
#8
Posted 03 April 2011, 08:19
Just passed all stages of checkout
Just working on the display of checkout_shipping.php right now...
Also, need to mod how the e-mail is displayed to the manufacturer.
You are a life saver! Many thanks Jim
All the best,
Clarence
#9
Posted 05 April 2011, 20:19
By chance, do you have the vendor_shipping module updated for OSC 2.3?
I am working through how it displays through checkout_shipping.php, and was just curious if you have already worked on that part of it yet.
Thanks,
Clarence
#10
Posted 05 April 2011, 20:33
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#11
Posted 06 April 2011, 20:32
kymation, on 05 April 2011, 20:33, said:
Regards
Jim
Thanks Jim, I got the display working okay, but something is happening with the display with a friend of mine viewing it overseas... I would like to PM you the screenshots to see if you know what is going on.
It deals specifically with displaying the shipping options on Checkout_shipping.php. The shipping seems to be hidden from my friend overseas, but is displayed for me. Just wanted to get you thoughts on it, if you have time to look.
Thanks,
Clarence
#12
Posted 06 April 2011, 21:04
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#13
Posted 06 April 2011, 21:25
kymation, on 06 April 2011, 21:04, said:
Regards
Jim
Makes perfect sense... It's outside of the shipping zone. Going to have my friend set up a new test account to test the shipping module within the shipping zone.
Thanks so much for all of your great help with this. Sometimes I get lost working, as I call it, "inside the forrest," and it's nice to have an objective view from someone "who can see into the forrest."
Will report back on the forum with the results, 99.9% confident that that is the issue
All the best,
Clarence
#14
Posted 06 April 2011, 21:54
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#15
Posted 12 April 2011, 02:03
I am using OSC 2.3.1 and having same problem with paypal express overriding free shipping.
I tried to replace the code in the express.php
______________________________________________________
// select cheapest shipping method
$shipping = $shipping_modules->cheapest();
$shipping = $shipping['id'];
}
}
}
if (strpos($shipping, '_')) {
list($module, $method) = explode('_', $shipping);
if ( is_object($$module) || ($shipping == 'free_free') ) {
if ($shipping == 'free_free') {
$quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE;
$quote[0]['methods'][0]['cost'] = '0';
} else {
$quote = $shipping_modules->quote($method, $module);
}
if (isset($quote['error'])) {
tep_session_unregister('shipping');
tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
} else {
if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) {
$shipping = array('id' => $shipping,
'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),
'cost' => $quote[0]['methods'][0]['cost']);
}
}
}
}
With this:
// load the selected shipping module
require(DIR_WS_CLASSES . 'shipping.php');
$shipping_modules = new shipping($shipping);
require(DIR_WS_CLASSES . 'order_total.php');
$order_total_modules = new order_total;
_________________________________________________________________________________
With this solution,I get the following:
Parse error: syntax error, unexpected T_ELSE in /home/namadisk/public_html/ext/modules/payment/paypal/express.php on line 472
_________________________________________________________________________
Is there anything that one can change in this code to make it work--
// select cheapest shipping method
$shipping = $shipping_modules->cheapest();
$shipping = $shipping['id'];
}
}
}
if (strpos($shipping, '_')) {
list($module, $method) = explode('_', $shipping);
if ( is_object($$module) || ($shipping == 'free_free') ) {
if ($shipping == 'free_free') {
$quote[0]['methods'][0]['title'] = FREE_SHIPPING_TITLE;
$quote[0]['methods'][0]['cost'] = '0';
} else {
$quote = $shipping_modules->quote($method, $module);
}
if (isset($quote['error'])) {
tep_session_unregister('shipping');
tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
} else {
if ( (isset($quote[0]['methods'][0]['title'])) && (isset($quote[0]['methods'][0]['cost'])) ) {
$shipping = array('id' => $shipping,
'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),
'cost' => $quote[0]['methods'][0]['cost']);
}
}
}
}
___________________________________________________________________________________________________
Please help !!!!!
Best Regards
#16
Posted 12 April 2011, 02:44
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#17
Posted 14 April 2011, 00:28
kymation, on 12 April 2011, 02:44, said:
Regards
Jim
Thanks for replaying Jim
I have given MVS installation to someone else hopefully it works out fine.
In meantime I have found free shipping contribution per category and that appears to be working fine with PayPal.
Many Thanks
Best Regards
Jack
#18
Posted 20 April 2011, 18:30
Can someone tell me why I'm not seeing the CATALOG directory?
#19
Posted 20 April 2011, 18:32
Regards
Jim
Banners Box 2.3.1 Support
Categories Accordion Box 2.3.1 Support
Categories Images Box 2.2x 2.3.1 Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.1 Support
Get 1 Free 2.2x Support
Include HTML and Text Boxes 2.2x
jQuery Banner Rotator 2.2x 2.3.1 Support
Modular Front Page 2.3.1 Support
Modular SEO Header Tags 2.3.1 Support
More Pics 2.2x Support
MVS 2.2x Support
osC Catalog 2.2x Support
PDF Datasheet 2.3.1 Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.1 Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.1 Support
Similar Products Box 2.2x
Theme Switcher 2.3.1 Support
#20
Posted 02 May 2011, 07:52
Thanks,
Clarence














