Jump to content

OS_Tim

Members
  • Content count

    47
  • Joined

  • Last visited

Everything posted by OS_Tim

  1. I've seen some similar questions, but none were answered. I'll explain my situation. In my store my product can either be framed no or framed yes set in product attributes. If framed yes, then $20 is added. I also need to add: If framed yes, add $5 shipping. I realize that I can simply make the $20, $25, but I would like the additional $5 shipping to show up AS shipping, not just in the order total. It seems like you could add an additional Field in product attributes, following the idea of if yes, add $20 to total, but make this an additional rule of if yes, add $5 to shipping. Anyone know of a module out there to do this? TIA.
  2. OS_Tim

    Google Analytics module

    I'm also curtious about the new ga.js tracking method. Is anyone developing this yet? Looks like the analytics.php file will need to be rewritten. Hopefully someone a little better at php than me will work on this and post it in the contributions!
  3. IS anybody using this: http://www.oscommerce.com/community/contributions,3299, Hotlink and URL Product Images This seems to be the only answer that people give in the forums for hotlinking images. I installed and it doesn't seem to be working correctly. I believe problem is that the way the contribution is trying to work, it is suppossed to use: define('DIR_EXT_HTTP', 'http://'); in Configure, and then calling up: tep_image(DIR_EXT_HTTP instead of tep_image(DIR_WS_IMAGES in product_info.php and other places. The products_image should now be changed to "www.mysite.com/images/my_image.gif", or if hosting on another server "www.othersite.com/images/my_other_image.gif" Seems like it might work, but it doesn't. I believe what is actually happening is that the products image link is now being returned as: "http://www.mysite.com/images/my_image.gif"'>http://www.mysite.com/http://www.mysite.com/images/my_image.gif" which is obviously, wrong. I think this is happening because if i change: define('DIR_EXT_HTTP', 'http://'); to define('DIR_EXT_HTTP', 'images/'); and leave the : tep_image(DIR_EXT_HTTP where its pulling the product image, it works fine, pulling up : "http://www.mysite.com/images/my_image.gif" SO the question is, how can I write a required configure line where it doesn't automatically place the field it's pulling AFTER the defined "http://www.mysite.com" ? (And no I' m not linking to images unless I have specific written permission from associate vendors whose products I am selling that happen to have their images also hosted for their site)
  4. OS_Tim

    Hotlink and URL Product Images

    It appears to be a conflict with the Image thumbnailer contribution which alters the tep_image in HTML_output.php. I'll update this if I fix it and hopefully it help some one searching through the forums for a similar answer.
  5. OS_Tim

    PayPal WPP Direct Payments & Express Checkout Support

    I might have found something, Where does Paypal send the customer to after selecting "Review" from their site? Does it send them directly to checkout_shipping.php from there? If so I might have found an error in the way I built in the code with MVS. Thanks for your help!
  6. OS_Tim

    PayPal WPP Direct Payments & Express Checkout Support

    Unfortunately no, I've verified this with many other contributions. Our server has register_globals On as verified in Tools -> Server Info register_globals On On -tim
  7. OS_Tim

    PayPal WPP Direct Payments & Express Checkout Support

    I bought an SSL from Geotrust (I'm assuming that means it is NOT shared), installed and like I said everything works perfectly fine (has for 4 months since I launched). I just always figured that if the credit cards were processing transparently, there should be no problem with someone using a Paypal account. Today was the first complaint I got about it and sure enough when I tested it, after entering my Paypal account info. and viewing the address and credit card page, it bounces me in a never ending loop back to "Log In" whenever I click on the "Review" button. I just finished uaing a merge program to compare all the files from the original package (0.7.3) with our current files and everything appears to be in perfect shape, where it should be. Other orders are coming in fine theough Direct Payments today . . .
  8. OS_Tim

    PayPal WPP Direct Payments & Express Checkout Support

    SORRY FOR THE DOUBLE POST!
  9. OS_Tim

    PayPal WPP Direct Payments & Express Checkout Support

    Direct payments works, and has been working fine for me. I just discovered that Express Checkout isn't working. When I select Express Checkout, I'm directed to Paypal. I log in with my account. I'm shown my credit card selection and address selection. I click Review, and every time it kicks me back to the Paypal log in page again. I couldn't find anyone with this similar error. Any help would be appreciated!!!
  10. OS_Tim

    PayPal WPP Direct Payments & Express Checkout Support

    Direct payments works, and has been working fine for me. I just discovered that Express Checkout isn't working. When I select Express Checkout, I'm directed to Paypal. I log in with my account. I'm shown my credit card selection and address selection. I click Review, and every time it kicks me back to the Paypal log in page again. I couldn't find anyone with this similar error. Any help would be appreciated!!!
  11. I'm running MVS (newest version) on MS 2.2 and it works great. I've customized a lot of it myself. I tried to solve this issue myself, couldn't, so I played around with some other shopping cart suites and am back here. X-Cart in particular allowed exactly what I need - Each Vendor (they call them provider) sets up their own state tax and rates and then on checkout, the cart looks at each product individually as to which vendor it belongs to and whether or not state tax applies. However a lot of other things were wrong with x-cart, especially the price. Simple Example(making up tax rates): Vendor A: Is owner of product 1 and has set up CO state tax to 3.0 (physical address in Colorado) Vendor B: is owner of product 2 and has set up CA state tax to 5.0 (physical address in California) Customer puts product 1 and product 2 into their basket. Customer creates account and is getting items shipped to Colorado Zip Code. In this event, the State Tax of 3.0 should be applied to product 1 but not to product 2. Both vendors drop ship their products. When the vendors are paid, Vendor A gets paid any state tax collected for them. The way MVS functions, is to look only at the "Main" store's zip code. I require that on checkout, tax rates are applied per product, and per that Vendor's tax rates. Has anybody set this up this way? Like I said, I've hacked through it and gotten kind of close but not quite there. If someone would like to give me a quote I would consider paying just to get this done! Thanks in advance for any help, let me know if you read this and think I may have more luck in another forum.
  12. OS_Tim

    Multi_Vendor_Shipping new thread

    Does MVS charge sales tax (if rate is set up) for vendors in different states? Example: Vendor 1 is in California Vendor 2 is in New York If someone living in New York buys from vendor 1, will California State Tax be applied; if someone living in New York buys from vendor 2, will New York State Tax be applied then? My location is Colorado so we set that up as our tax rate and so far it is only charging when someone who lives in Colorado buys a product regardless of where the vendor ships from. TIA
  13. I have multi vendor shipping set up with Os 2.2 and I set up a new vendor with the following table rate shipping: 25:4.95,50:6.95,100:8.95 No matter how much the order total is, the shipping rate comes in at the first rate listed: $4.95. I know it's looking in the right place because I can change the table to: 25:2.95,50:6.95,100:8.95 then refresh the shipping page, and it changes to $2.95. And yes, I have it set to "price" not "weight". Here are my settings: Table Rate Enable Table Method True Shipping Table 25:4.95,50:6.95,100:8.95 Table Method price Handling Fee 0 Tax Class --none-- Shipping Zone --none-- Sort Order 0 Anybody know what the heck is going on??? Thanks in advance.
  14. I use UPS XML with MVS and it works pretty well. Installed the product tracking contribution as well for my customers benefit, they love it! UPS XML (although googleing "oscommerce UPS" would have given you these results . . . GOOGLE)
  15. OS_Tim

    Automatically send data feed to Froogle

    So if I understand: http://www.oscommerce.com/community/contributions,4513 Google Base / Froogle Data Feeder v1.03 DOES NOT work with Ultimate SEO? What about going back to: http://www.oscommerce.com/community/contributions,3876 Froogle Data Feeder v1.62d - DOES offer support for Ultimate SEO Will this work??
  16. I'm working with the multiproduct update data row tables. Right now I'm using the following query and data rows to display my results: $updates_raw = "select p.vendors_id, p.products_id, p.products_quantity, p.products_price, p.products_msrp, p.products_model, pd.products_name, ps.products_stock_id, ps.products_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_STOCK . " ps where p.products_id = pd.products_id and p.products_id = ps.products_id and p.vendors_id = '" . (int)$vendors_id . "' group by p.products_id order by $order"; <tr class="dataTableRow"> <td class="dataTableContent"><?php echo $row['products_id'] . "<input type='hidden' name='event_record[" . $id . "][products_id]' value='".$id."'>"; ?></td> <td class="dataTableContent"><?php echo $row['products_stock_id'] . "<input type='hidden' name='event_record[" . $sid . "][products_stock_id]' value='".$sid."'>"; ?></td> <td class="dataTableContent"><?php echo $row['products_model']; ?></td> <td class="dataTableContent"><?php echo '<a href="http://smallofficesolutions.info/clients/associates/supplier/supplier_s_categories_products.php?& ' . ('pID=' . $row['products_id']) . '&action=new_product' . '"><u>' . $row['products_name'] . '</u></a>'; ?></td> <td class="dataTableContent"><?php echo tep_draw_input_field('event_record[' . $id . '][products_quantity]', $row['products_quantity'], 'size="6"'); ?></td> <td class="dataTableContent"><?php echo $row['products_price']; ?></td> <td class="dataTableContent"><?php echo $row['products_msrp']; ?></td> </tr> This will return in each row all products that HAVE a products_stock_id, the products which are using QTPro to keep track of stock by attributes. This is great, but I also need to know how to use the above to display all products that DO NOT have products_stock_id. I think there would be any easy way to do this but can't figure it out. TIA
  17. OS_Tim

    Multi_Vendor_Shipping new thread

    I beleive I read foreach returns results faster??? But again, I'm green. Through my troubleshooting I have swapped out while and for each and they both work.
  18. OS_Tim

    Multi_Vendor_Shipping new thread

    Trying your above post, will get back to you. So proving my green-ness to php, where do i set this in the constants? In the vendor_shipping file at the top there is: //Get the vendors_id for each vendor in the database $vendors_data_query = tep_db_query("select vendors_id from " . TABLE_VENDORS); while ($vendors_data = tep_db_fetch_array($vendors_data_query)) {; $vendors_id = $vendors_data['vendors_id']; $installed_modules = @constant ('MODULE_VENDOR_SHIPPING_INSTALLED_' . $vendors_id); if (isset ($installed_modules) && tep_not_null ($installed_modules)) { $modules_array = explode(';', $installed_modules); $this->modules[$vendors_id] = $modules_array; foreach ($modules_array as $module_name) { //if the module is not already in the array, add it in if (!in_array ($module_name, $installed_modules_array)) { $installed_modules_array[] = $module_name; }//if !in_array }//foreach }//if isset }//while is the @constant where it should be set?
  19. OS_Tim

    Multi_Vendor_Shipping new thread

    I've been struggling with Individual Product Shipping (IPS) for a week and found that some versions of the contribution had that file in the fuction, I thought it was a fix to my problems, but I guess not :blush: Sorry for any confusion.
  20. OS_Tim

    Multi_Vendor_Shipping new thread

    Thanks Jim for your help, but as it seems we are going down a rabbit hole here, is there any way you or anybody else knows of to specify that a shipping method for a vendor and if that is not set, display all the others? This would be a nice fix to trying to work with dimensions UPS XML.
  21. OS_Tim

    Multi_Vendor_Shipping new thread

    It is part of IPS in the function: indvship_status.php <?php /* Indvship */ ?> <?php // BOF Indv Ship function tep_get_configuration_key_value($lookup) { $configuration_query_raw= tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key='" . $lookup . "'"); $configuration_query= tep_db_fetch_array($configuration_query_raw); $lookup_value= $configuration_query['configuration_value']; return $lookup_value; } // EOF ?>
  22. OS_Tim

    Multi_Vendor_Shipping new thread

    Darn good point. I removed from the main shipping and low and behold, it followed the else statement. I will work with the code as you outlined. Thanks.
  23. OS_Tim

    Multi_Vendor_Shipping new thread

    Hmm no go. What I have discovered through troubleshooting is that it is picking up whether or not there is a IPS set. For example, if my code is: (tep_get_configuration_key_value('MODULE_SHIPPING_INDVSHIP_STATUS') and $shiptotal) { $include_modules[] = array('class' => 'indvship', 'file' => 'indvship.php'); } else { foreach ($installed_modules_array as $value) { $class = substr($value, 0, strrpos($value, '.')); // Don't show Individual Shipping Module //if ($class != 'indvship') { $include_modules[] = array('class' => $class, 'file' => $value); } } and I have a IPS set, I get the error. I go change the IPS to 0 and then it follows the 'else' function, going through the original MVS method and displaying ALL methods available, thus letting the end user select the UPS rate OR the IPS rate. It's just not recognizing the 'class' => 'indvship' when in the vendors shipping folder for some reason. Could this be in a functions file? :grasping at straws:
  24. OS_Tim

    Multi_Vendor_Shipping new thread

    Darn, nope. Still the same error, I agree with your train of thought, it's not being DEFINED for some reason. In the original shipping.php class the function is defined for 'MODULE_SHIPPING_INSTALLED and in vendors shipping it is isset for 'MODULE_VENDOR_SHIPPING_INSTALLED' I think therein lies the key to the problem, however I took away the defined from the regular shipping and moved over the isset code and got it to work without MVS! Arg eh . . . Any other thoughts? [quote name='kymation' date='Sep 14 2006, 07:33 PM' post='935453'] OK, I see why the normal method wouldn't work for you. So, for the error you are getting, I think that $class needs to be set. For the code snippet you posted, I would do this: [code](tep_get_configuration_key_value('MODULE_SHIPPING_INDVSHIP_STATUS') and $shiptotal) { $include_modules[] = array('class' => 'indvship', 'file' => 'indvship.php'); $class = 'indvship'; } else { foreach ($installed_modules_array as $value) { $class = substr($value, 0, strrpos($value, '.')); // Don't show Individual Shipping Module if ($class != 'indvship') { $include_modules[] = array('class' => $class, 'file' => $value); } } Please let us know if that solves the problem. Regards Jim
  25. OS_Tim

    Multi_Vendor_Shipping new thread

    that code is suppossed tp be } elseif ($GLOBALS[$class]->enabled($vendors_id) ) { not 0
×