Jump to content

shahd2

Members
  • Content count

    10
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Shah
  1. shahd2

    Multi_Vendor_Shipping new thread

    Hey, I finally got per item and table rate shipping modules to work with MVS, Now I need multiple tables rates for ground, 2nd day and next day, So i want to see if i can get lucky, if anyone has modified multi-table shipping module for MVS. I think it is called additional_table_rate_options_v1.2 Thanks!
  2. shahd2

    Multi_Vendor_Shipping new thread

    Thanks for the file. I compared and they are identical. I tried to debug and discoverd that the $GOBALS[$class] is object except for all other modules except when $class is item the $GOBALS[$class] equals "Summer". If anyone can think of where is this coming from, let me know. Below is debug output from class/vendor_shipping.php value is fedex1.php module is class is fedex1 class in globals is Object value is flat.php module is class is flat class in globals is Object value is item.php module is class is item class in globals is Summer Fatal error: Call to a member function on a non-object in dev2/includes/classes/vendor_shipping.php on line 92
  3. Hey, Would like to acknowledge this contribution. I am using it right now and thank you for sharing it.
  4. So far i have tried to copy all the relevant code (everything that has ccgv) from checkout_payment.php to shopping_cart.php . I am able to get the order total and all but when coupon code is submitted it does not get processed. Any idea on the missing link Any thoughts/suggestions/comments on easiest way make this happen.
  5. shahd2

    Multi_Vendor_Shipping new thread

    My bad, above lines are from classes/vendor_shipping.php and not item.php ---classes/vendor_shipping.php---------------------------------------------------------- 81) foreach ($this->modules[$vendors_id] as $value) { 82) echo '<br> value is '.$value; 83) $class = substr($value, 0, strrpos($value, '.')); // $class is the filename without the .php 84) echo '<br> module is '.$module; 85) if (tep_not_null($module)) { 86) if ( ($module == $class) && ($GLOBALS[$class]->enabled($vendors_id)) ) { 87) $include_quotes[] = $class; 88) } 89) } elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled for this vendor 90) $include_quotes[] = $class; 91) } 92) } ----------------------------------------------------------------------------------------------- And yes, all other modules work fine the error is received only when per item shipping module is installed. If I just uninstall the Per Item module every thing else works fine, but unfortunately it is one of the required shipping method.
  6. Has anyone attempted to move Coupon redeem and order total in shopping cart instead of checkout payment page? Any thoughts on what will it take to make this happen. Initially i thought it will be a quick hack but seems more involved now.
  7. Has anyone tried to provide the Reedem box in shopping_cart.php instead of checkout_payment.php?
  8. shahd2

    Multi_Vendor_Shipping new thread

    Hello All, Thanks a lot for this great contribution. Everything seems to be working great except per item shipping module. On the checkout_shipping page i receive following error. --Error------------------------------------------------------------------ Fatal error: Call to a member function on a non-object in /includes/classes/vendor_shipping.php on line 89 -------------------------------------------------------------------------- The Line 89 in item.php is as below --item.php Line 89----------------------------------------------------- } elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled -------------------------------------------------------------------------- Below is the code around it: --Line 81 to 91 in item.php-------------------------------------------- 81 foreach ($this->modules[$vendors_id] as $value) { 82 echo '<br> value is '.$value; // My attempt to debug 83 $class = substr($value, 0, strrpos($value, '.')); // $class is the filename without the .php 84 echo '<br> module is '.$module; // My attempt to debug 85 if (tep_not_null($module)) { 86 if ( ($module == $class) && ($GLOBALS[$class]->enabled($vendors_id)) ) { 87 $include_quotes[] = $class; 88 } 89 } elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled for this vendor 90 $include_quotes[] = $class; 91 } 92 } -------------------------------------------------------------------------- I used the files posted on August 5 v..9CR5 on the MVS contribution. If anyone have a working includes\modules\vendors_shipping\item.php I can try replacing this file and see if it might fix the problem. Thanks!
  9. shahd2

    Error with per item shipping option

    Hey Thanks for the info. My second error is fixed. As for the error with per item shipping module - Is the per item module in your install working for you? I am using the install from August 5 v.9CR5 . Is it possible for you to share your includes\modules\vendors_shipping\item.php file? May be I have wrong version and if you don?t have any major modifications to it, my problem might get fixed just by replacing that file. Once again thanks.
  10. Hello, First of all thanks a lot for this great contribution. I installed the Multi vendor shipping functionality but have two errors and cannot figure out how to fix it. Error (1) If the per item shipping method is installed for a vendor the shipping page gives an error Fatal error: Call to a member function on a non-object in /includes/classes/vendor_shipping.php on line 89 Line 89 is as below } elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled Below is the code around it: 81 foreach ($this->modules[$vendors_id] as $value) { 82 echo '<br> value is '.$value; 83 $class = substr($value, 0, strrpos($value, '.')); // $class is the filename without the .php 84 echo '<br> module is '.$module; 85 if (tep_not_null($module)) { 86 if ( ($module == $class) && ($GLOBALS[$class]->enabled($vendors_id)) ) { 87 $include_quotes[] = $class; 88 } 89 } elseif ($GLOBALS[$class]->enabled($vendors_id)) { //Module is enabled for this vendor 90 $include_quotes[] = $class; 91 } 92 } Will appreciate any help. Error (2) All the shipping option modules under each vendor show following error if the module is not installed. After i installe the module the error goes away but i am not sure if this might have any indication of a bigger issue somewhere else. Per Item Warning: constant(): Couldn't find constant MODULE_SHIPPING_ITEM_SORT_ORDER_3 in includes/modules/vendors_shipping/item.php on line 33 Warning: constant(): Couldn't find constant MODULE_SHIPPING_ITEM_SORT_ORDER_3 in includes/modules/vendors_shipping/item.php on line 33 0 Thanks
×