edukes
-
Posts
149 -
Joined
-
Last visited
Posts posted by edukes
-
-
Hi,
Just installed lightbox but can't get it to work. I have no thumbnails on product info pages.
I have oscThumb installed so don't know if that has anything to do with it. Also, there is a pop-up shipping estimator installed in the same location that lightbox uses.
Here's a snip of my product_info.php
<?php
/*
$Id: product_info.php 1739 2007-12-20 00:52:16Z hpdl $
$Loc: /catalog/ $
$Mod: MVS V1.2 2009/02/28 JCK/CWG $
osCommerce, Open Source E-Commerce Solutions
Copyright © 2003 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);
$product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
$product_check = tep_db_fetch_array($product_check_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript" type="text/javascript"><!--
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le
ft=150')
}
//--></script>
<link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox/prototype.js"></script>
<script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/builder.js"></script>
<script type="text/javascript" src="lightbox/lightbox.js"></script>
<?php // MVS Shipping Estimator Start ?>
<script language="javascript" type="text/javascript"><!--
function estimatorpopupWindow(URL) {
window.open(URL,'productsshippingestimator','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=80
0,height=600')
}
//--></script>
<?php // MVS Shipping Estimator End ?>
</head>
I tried moving the lightbox code to just above </head> but got the same results.
Any help would be appreciated.
-
Was wondering if anyone is using order editor for mvs? I was thinking of installing it but its dated 2006. Is it still a working contrib for the latest version of mvs?
TIA
FWITW,
I installed the Order Editor package for MVS and it 'seems' to work fine. I uninstalled and installed Order editor 5.0.6.6, merging checkout_process with the MVS version. It also 'seems' to work as well.
-
Fatal error: Cannot instantiate non-existent class: simplexmlelement in /var/www/shop/admin/whos_online.php
I'm getting the same error on my live shop. Works like a champ on my test shop. Same versions of mysql and php.
-
Was wondering if anyone is using order editor for mvs? I was thinking of installing it but its dated 2006. Is it still a working contrib for the latest version of mvs?
TIA
-
I've upgrading my store to rc2a. I use multi vendor shipping and it has a shipping estimator. I've gotten every thing to work except the shipping estimator. I posted over in the MVS forum and was told "the Ultimate SEO URLs addon interferes with passing GET variables. You'll need to modify it to pass the pID to the estimator page."
Anyone know what this means or how to fix it?
TIA
-
The Ultimate SEO URLs addon interferes with passing GET variables. You'll need to modify it to pass the pID to the estimator page.
It sounds like you are missing the SQL changes to the configuration table. That's Lines 15-17 of the mvs.sql. Once you run that, those menu items should show in the MVS Configuration menu.
Regards
Jim
Thanks, Jim!!
Running those lines did the trick.
I'll post in the Ultimate SEO forum to see about the GET varibles.
Again, thanks!!
-
"Error: Product was not found." indicates that the product ID was not passed to the module. It's passes as a $_GET variable named pID. You should be able to see this in the address bar if you turn that back on. What modifications have you made that would interfere with this variable? A URL rewriter?
That las paragraph makes perfect sense to me. What part of it don't you understand?
Regards
Jim
Yes, I use Ultimate SEO urls.
I don't understand where it says it can be turned off. All I see in the admin section is the 'Use Zones' in Admin->Configuration->Shipping/Packaging.
Thanks
-
Been upgrading my store to RC2A as well as upgrading MVS 1.1 to 1.2.1.
Everything seems to work except the shipping estimator. If you are not logged in (as a customer), it works. If you're logged in, it doesn't an reports: Error: Product was not found. Please close this window and try again.
Also, in the usage.txt, I don't understand the last paragraph except for the zones:
1.14 The shipping estimator has several optional settings (See Admin->Configuration->Shipping/Packaging.)
'Use Zones' should be set to true if you have any shipping modules set up to use Zones, otherwise it
should be false. The customer will be required to enter a State/Zone if Zones is turned on.
'Products ship estimator' can be used to turn off the shipping estimator button on
the Products Info page.
'Cart ship estimator' can be used to turn off the shipping estimator button on the Shopping Cart page.
'Cart box ship estimator' can be used to turn off the shipping estimator button in the Shopping Cart box.
TIA
-
The code in /includes/classes/order.php has changed in RC2A.
Anyone have a fix for this file?
TIA
-
Just got finished editing the files to upgrade and ran the sql changes.
I get the following error:
Error
SQL query:
ALTER TABLE banners ADD INDEX idx_banners_group( banners_group ) ;
MySQL said: Documentation
#1061 - Duplicate key name 'idx_banners_group'
In fact, after commenting the line out, it rejects the next one, etc. The following lines get the same error:
alter table banners add index idx_banners_group (banners_group);
alter table banners_history add index idx_banners_history_banners_id (banners_id);
alter table currencies add index idx_currencies_code (code);
alter table customers_basket add index idx_customers_basket_customers_id (customers_id);
alter table customers_basket_attributes add index idx_customers_basket_att_customers_id (customers_id);
I quit trying after commenting these lines out with no success.
I am running 2.2ms2-060817, mysql 4.1, and php 4.3.11 on godaddy servers.
Any help would be appreciated.
-
Hello,
Using paypal ipn. It seems if a customer has a paypal account, when they checkout, they are not given the choice to use a credit card or paypal, just paypal.
I have looked through my profile but cannot find an option to correct this.
Anyone know how to fix this?
TIA
-
The reason that it is the way it is that people get it working. Others make errors installing it, and post fixes, updates, etc. Then there are fixes, updates to the fixes updates etc. Then there are fixes, updates to the fixes updates etc. Then there are fixes, updates to the fixes updates etc. Then there are fixes, updates to the fixes updates etc.
In the end, people who do have it working stop looking at the forum because it is no longer what they have installed.
EXACTLY!!
Had it working but there were always problems. Tried the fixes/updates, things only got worse. Glad I can atleast disable it. Can't figure why I can't un-install it.
Maybe I'll try the right version and see what happens.
-
WARNING:: DO NOT install this Add-on!!!
I installed it about a year ago. It half-assed worked so I disabled it in the admin.
For the past 2 weeks, I have tried to un-install it by re-installing backup files. I have given up. Once installed, it cannot be un-installed!! I'm no php expert, but I have been administering linux based systems since 1989.
There are not 231 pages in this forum for no reason.
BEWARE!!!!
-
Well, I tried this add-on for a third time. Its finally working BUT, now I have another issue. All my menus in the admin section look like this:
BOX_HEADING_CONFIGURATION
BOX_HEADING_CONFIGURATION
BOX_CONFIGURATION_MYSTORE, BOX_CONFIGURATION_LOGGING, BOX_CONFIGURATION_CACHE
BOX_HEADING_MODULES
BOX_HEADING_MODULES
BOX_MODULES_PAYMENT, BOX_MODULES_SHIPPING
BOX_HEADING_CATALOG
BOX_HEADING_CATALOG
Contents, BOX_CATALOG_MANUFACTURERS
BOX_HEADING_VENDOR_MODULES
BOX_HEADING_VENDOR_MODULES
BOX_HEADING_VENDORS, BOX_VENDORS_REPORTS_PROD, BOX_VENDORS_ORDERS
BOX_HEADING_LOCATION_AND_TAXES
BOX_HEADING_LOCATION_AND_TAXES
BOX_TAXES_COUNTRIES, BOX_TAXES_GEO_ZONES
BOX_HEADING_CUSTOMERS
BOX_HEADING_CUSTOMERS
BOX_CUSTOMERS_CUSTOMERS, BOX_CUSTOMERS_ORDERS
BOX_HEADING_LOCALIZATION
BOX_HEADING_LOCALIZATION
BOX_LOCALIZATION_CURRENCIES, BOX_LOCALIZATION_LANGUAGES
BOX_HEADING_REPORTS
BOX_HEADING_REPORTS
Products, Orders
BOX_HEADING_TOOLS
BOX_HEADING_TOOLS
Backup, Banners, Files
I have checked, re-checked, re-re-checked, etc., for about 6 times and checked some more, but can't find out the problem. Any suggestions would be greatly appreciated.
TIA
-
That's an old bug. Replace all instances of MODULE_SHIPPING_USPS_RATES_ZONE_ with MODULE_SHIPPING_USPS_ZONE_. In fact, _RATES should be removed from all constants that include it.
Regards
Jim
Thanks, that got it!!
I did a search for that string, but didn't get any results.
Again, thanks!!
Eddie
-
I tried that. Disabled everything but 'Parcel', made the changes in the sql, "Domestic Shipping Methods", made the changes in usps.php and went back and did the same for "Parcel'. Did I mis-understand?
Went back and tried it again this morning. Same result. I do get rates but at the top of the page I get the following errors:
Warning: constant(): Couldn't find constant MODULE_SHIPPING_USPS_RATES_ZONE_6 in /includes/modules/vendors_shipping/usps.php on line 113
Warning: constant(): Couldn't find constant MODULE_SHIPPING_USPS_RATES_ZONE_6 in /includes/modules/vendors_shipping/usps.php on line 113
This is line 113: if ( ($this->enabled == true) && ((int)constant('MODULE_SHIPPING_USPS_RATES_ZONE_' . $vendors_id) > 0) ) {
I don't have a clue.
TIA
-
The changes only affect domestic packages so:
change all cases of Express where is named ALONE, ie not Global Express Mail, to EXPRESS
change all cases of Priority where is named ALONE, ie not International Priority Mail, to PRIORITY
change all cases of First Class where is named ALONE, ie not First Class Mail International , to FIRST CLASS
change all cases of Parcel where is named ALONE, ie not International Parcel Post, to PARCEL
A find and replace in the usps.php should answer how many you should be looking for unless I am misunderstanding your question. I'd recommend just going through the changes step by step as the process of changing the parameters in the admin panel, then updating the database must be followed step by step.
A smarter suggestion sent to me by grim is to alter the case of the strings sent back by USPS which I hope to get to at some point. Once I do this I will provide an updated usps.php file which will require no db changes. As per his suggestion:
The following functions do it for you....
strtolower() - Converts a string to lowercase letters
strtoupper() - Converts a string to uppercase letters
If someone else gets a chance its not a difficult change to write.
I tried that. Disabled everything but 'Parcel', made the changes in the sql, "Domestic Shipping Methods", made the changes in usps.php and went back and did the same for "Parcel'. Did I mis-understand?
-
I don't know who has noticed yet but USPS has decided to mess with thousands of vendors all across the world by changing their descriptions in the code they send to caps. Seems like a small change and I bet the new programmer their didn't realize what he did but he broke most oscommerce stores using usps.php either in mvs or the standard oscommerce. This change likely broke MANY other carts too and they will probably change it back when they realize what chaos they have caused with such a silly change.
In any case, for mvs, this is how you fix the problem:
/includes/modules/vendors_shipping/usps.php
change all cases of Express where is named ALONE, ie not Global Express Mail, to EXPRESS
change all cases of Priority where is named ALONE, ie not International Priority Mail, to PRIORITY
change all cases of First Class where is named ALONE, ie not First Class Mail International , to FIRST CLASS
change all cases of Parcel where is named ALONE, ie not International Parcel Post, to PARCEL
I can't list the exact locations for you because my usps.php file is changed, here is an example of a changed location
OLD:
$this->types = array('Express' => 'Express Mail', 'First Class' => 'First-Class Mail', 'Priority' => 'Priority Mail', 'Parcel' => 'Parcel Post');
NEW:
$this->types = array('EXPRESS' => 'Express Mail', 'FIRST CLASS' => 'First-Class Mail', 'PRIORITY' => 'Priority Mail', 'PARCEL' => 'Parcel Post');
How can I determine which ones need to be upper case? About how many should I be looking to change for each?
-
Hello,
Been using MVS for a while and it works great.
Recently, I think PayPal has made some changes and about every 2nd or 3rd order, the shipping charges are not included. This started happening last week. Are there any updates to the shipping modules included with MVS? Or does anyone know what's causing this?
TIA
-
PayPal changed their server behavior after v2.3.3 of osCommerce PayPal IPN released. Now you can't clean up shipping calculations settings in your PayPal account profile page.
Please check your PayPal account profile settings in Shipping Calculations, at the bottom of that page, check the option Click here to allow transaction-based shipping values to override the profile shipping settings listed above (if profile settings are enabled).
What is meant by 'if profile settings are enabled'? About every fifth transaction has no shipping charges. In fact, I do not see the check box on my Shipping Calculations page. In the "Method", there is a box, 'Override shipping methods per transaction'. Is that what you're talking about? Do I need to check this box?
TIA
-
Thanks for the update!! Works great!!!!
Just a question about 'product_type'. How do I get it to report the top level category?
For example:
I sell mostly outdoor sporting goods products. I list a category such as knives and then by brand/manufacturer. When I run googlefeeder.php the column for 'product_type' is 'Knives, Gerber'.
I know this is trival and I can edit the output file, but it would be nice to have it only report the 'top-level' category.
TIA
-
Hello,
Been using this contrib for a while and it really works great - thanks!!
One thing, don't know if I did something wrong but why don't the additional attributes show up in the order confirmation email?
How do I do this?
TIA
-
Hello,
Been meaning to ask this for a while.
In the UPS shipping module, where, how can I find out what all the abbreviations for the shipping methods represent?
1DM, 1DML, 1DA, 1DAL, 1DAPI, 1DP, 1DPL, 2DM, 2DML, 2DA, 2DAL, 3DS, GND, STD, XPR, XPRL, XDM, XDML, XPD
Some are obvious but many, I have no clue.
TIA
-
Hello,
I have tried installing this contrib several times. I get the login page, login, get the administration page, click on anything, and get the login page again, again, again, again..............................
Any ideas?
TIA
Multi_Vendor_Shipping new thread
in Shipping Modules
Posted
I have a question concerning the 'free' shipping module.
In the setup,
Enable Display
Do you want to display text way if the minimum amount is not reached?
True
False
Does this mean if a purchase is less than the minimum specified it will notify the customer with some text on the shipping page? If so, its not working.
TIA