Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hydro

Pioneers
  • Posts

    30
  • Joined

  • Last visited

Everything posted by hydro

  1. Currently my titles are 120 characters in length. For Google Merchant feed, they require the length to be no longer than 70 characters. How can I change in the feedmachine to limit the title in the feed to 70 characters? Thanks for you help.
  2. I was having the same problem and have seem to stumbled upon a solution. in includes/checkout/checkout.js find: if($(':password[name=password]').val() != '') { if($(':password[name=confirmation]').val() == '' || $(':password[name=confirmation]').val() != $(':password[name=password]').val() ) { errMsg += 'Confirmation password does not match the password.' + "\n"; } } Change it to: if (this.loggedIn == fale){ if($(':password[name=password]').val() != '') { if($(':password[name=confirmation]').val() == '' || $(':password[name=confirmation]').val() != $(':password[name=password]').val() ) { errMsg += 'Confirmation password does not match the password.' + "\n"; } } } Basically this section seem to be checking whether or not the password entered during new account match each other and should not be running if you are already logged in. After making the above change, the error message "Confirmation password does not match the password" no longer come up for returning customers.
  3. Is it just me or anyone else getting getting popup with "Error: parsererror" when clicked on Checkout? I installed stock osc 2.3.1 and I ftp all the files in the Drop_On_Top directory to my store, but when I click on checkout, it goes to the checkout page for login/signup, but it also popup a small window with "Error: parsererror". I click Okay and go to Create Account, but during create account, it also have the same error popup. How can I fix this? Do I need to install any of the other contributions before I can use this?
  4. I am using the feedmachine solution for Google Base feed, but it sets all the condition to "New". We sell new and used products so I would like to be able to set the condition based on the condition attribute in the product. Is there any way to do this? In Google-product-search-us-en.php, there are these lines: 'condition' => array('output' => 'new', 'type' => 'VALUE' ), For example, I have an attribute called condition that I would like it map to the correct condition: Condition in Attributes >> Condition for Google Brand New >> 'New' Brand New Retail Kit >> 'New' Used / System pull >> 'Used' Recertified >> 'Refurbished' Any help is much appreciated. Thanks.
  5. We have been using the Oscommerce 2.x for a couple years now with the UPS XML module. However since last week, I am keep on getting debug emails from the UPS XML module. With the UPS shipping turned on, the checkout process will not work at all and I have to turn it off. Please help. Here are the debug emails I receive. Keep in mind that everything was working before and I am not using Godday as my host. Debug email 1: UPSXML TimeInTransit Error: : experienced by customer with id 7 on 2010-01-14 17:44:58 Debug email 2: Error from cURL: Error [28]: connect() timed out! experienced by customer with id 7 on 2010-01-14 17:44:58 Debug email 3: UPSXML Rates Error: Rating and Service 1.0001 0 An unknown error occured while attempting to contact the gateway : Rating and Service 1.0001 0 An unknown error occured while attempting to contact the gateway experienced by customer with id 7 on 2010-01-14 17:45:58
  6. Is there a contribution that do this or how to write it: (for example, for package weighting 10lbs costing $500, UPS Ground 1st lbs = $8 each additional pound = +$0.76 Insurance per $100 = $1 it will be calculated $8 +9x$0.76 + $5= $19.84) UPS 2-Day 1st lbs=$18 each additional pount = +$2.5 Insurance per $100 = $1 UPS 2-Days ==> $18 + (10-1)*$2.5 + $500/$100=$45.5 etc. This is good is you are shipping from different locations. For example, the UPS XML module only give you the option to enter one ship-from location and calculated the shipping rates based on that location. However what if I have to ship from a different location across the country. In these case, I would have under quoted the customer. So in case that the ship-from location is unknown, it is better to give a rate that is not depandent on the ship-from location.
  7. Find in includes/modules/shipping/upsxml.php $this->quotes = array('id' => $this->code, 'module' => $this->title . ' (' . $shipping_num_boxes . ($this->boxCount > 1 ? ' pkg(s) x ' : ' pkg x ') . round($shipping_weight,0) . ' ' . strtolower($this->unit_weight) . ' total)'); Change it to: $this->quotes = array('id' => $this->code, 'module' => $this->title);
  8. Currently my UPS XML is v 1.2.6. Wondering if the Saturday delivery option is implented in the later versions. If not is there a way to implement the Saturday delivery option. Please let me know how to do this. I believe Saturday delivery is only available for Next-Day delivery on Friday and you want to get it Saturday instead of waiting until Monday. The current pricing for Saturday delivery is $12.5 per package on top of the Next-Day shipping method if that help.
  9. Thanks. I got that to work. However, if I turn the Auto-Name Builder on, for newly added products it automatically generate names based on the products_name instead of products_model. How can I get it to auto generate name based on the Products_model as well? Second Question: I have a link to a pdf file, but clicking on that redirects me to the cookie-usage.php file instead. Why is that? Also occasionally I get the cookie-usage page and refreshing the page again and it goes away. Why? Third, from SEO point of view, probably using the Products_name will do better in search engine, but since it gives a long string, it look suspicious / spammy and thus discourage people from clicking it. What do you guys think? For example, are you more likely to click on Fujitsu-max3735nc.htm or fujitsu_max3735nc_73gb_15000rpm_ultra320_scsi_hard_drive.htm (possibly longer) Sorry for all the questions and thank you for your answers.
  10. I am looking in the SEO-G report and I see entry's like this: http://domain.com/product_info.php?cPath=7...roducts_id=1276 translating to this: http://domain.com/name-of-product/cpath-76_77.html Looks like the category does not get translated. Also I put in the G-Type: Linkage for manufacturers = 3, Sort Order 1 Linkage for categories = 2, Sort Order 2 Linkage for products = 1, Sort Order 3 What am I doing wrong? Is it better to translate to http://domain.com/category/product.html or just http://domain.com/product.html
  11. Thanks for the reply. I have tried replacing products_name with products_model, but it did not work because products_model is in the table Products instead of Products_Description. Just replacing the table Products_Description to Products cause problem too. Is it possible to make it so in the G-Controller section, we can insert the products using the product's model (products_model) or product's name (products_name) as default? If it is too much trouble, can you tell me how I should write the Query so I can use both products_model and products_name from both the Products and Products_Description tables. TIA.
  12. In the G-Controller section, how can I insert the products using the product's model (products_model) instead of product's name (products_name) as default?
  13. hydro

    Google Checkout Level 2

    Is there anyway to get the Google Checkout Level 2 contribution to work without the Lib XML? I asked my web hosting company about whether or not LibXML is installed and here is what I was told: ------- PHP 4 offers the XML extension, whereas PHP 5 will be moving to the DOM extension: http://us2.php.net/manual/en/ref.dom.php The "DOM XML" extension you have pointed out is deprecated in PHP 5 and no longer usable in production environment... We cannot install it into PHP 4, because it will collide with the existing expat driven XML extension... PHP 5 is under development and plans are moving towards upgrading to PHP5 in the future and you would need to check with the script author to see if it has been updated for PHP 5's new DOM extension. ------- Is there anything I can change in the code so it is does not rely on the LibXML extention? Thanks.
  14. Can someone please post the complete package for fast easy checkout including the changes. Thanks. For shipping/payment combo: checkout_shipping.php checkout_payment.php checkout_confirmation.php checkout_shipping_address.php checkout_payment_address.php For creat account: 1-account.php 2--account_edit.php 3-account_history.php 4-account_history_info.php 5-account_newsletters.php 6-account_notifications.php 7-account_password.php 8-address_book.php 9-login.php 10-logoff.php 11-checkout_success.php 12-password forgotten.php 13-checkout_process.php 14-includes/form_check.js.php 15-includes/header.php 16include/languages/english/create_account.php 17-includes/languages/english/account_password.php 18-includes/languages/english/checkout_process.php 19-includes/llanguages/english/logoff.php 20-admin/orders.php
  15. I use the original PayPal payment module and then while testing, once I hit the confirm order and goes to the PayPal page, the shipping charge is not included. I tried installing the PayPal IPN mentioned above and it still does not pass the shipping charge to PayPal. Anyone else have this problem?
  16. Anyone know how to add the extra-fields to the orders also? Currently, the Extra Fields contribution works great, but I would like to see the extra fields show up in the shopping cart also. Also I would like to add it to the orders. For example have an Orders_Products_ExtraFields table like the orders_products_attributes to record the products/extrafields for each order. Any idea how to do this? Thanks!
  17. In the product_info.php, I basically change the query to the following and it seem to works fine: SELECT pef.products_extra_fields_status as status, pef.products_extra_fields_name as name, ptf.products_extra_fields_value as value FROM ". TABLE_PRODUCTS_EXTRA_FIELDS ." pef LEFT JOIN ". TABLE_PRODUCTS_TO_PRODUCTS_EXTRA_FIELDS ." ptf ON ptf.products_extra_fields_id=pef.products_extra_fields_id WHERE ptf.products_id=" . (int)$HTTP_GET_VARS['products_id'] . " and ptf.products_extra_fields_value<>'' and (pef.languages_id='0' or pef.languages_id='".$languages_id."') ORDER BY products_extra_fields_order");
  18. Anyone know how to modify the Authorize.net consolidated v1.7b contribution so it also have the ability to specify the acceptable Zones or set the order status? Also anyway to save the type of credit card into the database also? Thanks.
×
×
  • Create New...