Jump to content

simonhornby

Members
  • Content count

    21
  • Joined

  • Last visited

About simonhornby

  • Rank
    simonhornby

Profile Information

  1. Hi All. Sussed!!! The following works a treat to get Gift Wrap (http://addons.oscommerce.com/info/8115) description and order total showing in PayPal Express order information pane on the Paypal website. Follow the original install instructions and add the code below. // Gift Wrap - start $orig_amt = $params['AMT']; $before=$paypal_express->format_raw($order->info['total'], '', 1); if (MODULE_ORDER_TOTAL_GIFTWRAP_STATUS == 'true') { include(DIR_WS_MODULES . 'order_total/ot_giftwrap.php'); include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_giftwrap.php'); $ot_giftwrap = new ot_giftwrap; $ot_giftwrap->process(); $after = $paypal_express->format_raw($order->info['total'], '', 1); $params['AMT'] = $orig_amt; $params['AMT'] = $params['AMT'] +($order->info['giftwrap_cost']); $giftwrap = $order->info['giftwrap_cost']; $params['L_NAME' . $line_item_no] = html_entity_decode(MODULE_ORDER_TOTAL_GIFTWRAP_TITLE); $params['L_AMT' . $line_item_no] = ($paypal_express->format_raw($giftwrap)); $params['L_QTY' . $line_item_no] = 1; $params['ITEMAMT']=$params['ITEMAMT']+(($paypal_express->format_raw($giftwrap))); $line_item_no++; } // Gift Wrap - end Simon :D
  2. simonhornby

    Shipping in cart

    Free Shipping in order total! Sussed! I use Royal Mail 2nd Class Standard v2.2.2 zone rates so I set shipping zone rate at 100000:003 ie to ship up to 100Kg costs 1/3p. 100kg is way more than we actually will ship so all orders should be covered. The amount (0.003) is too small for OSC to round up to 1p so is "charged" to the Customer at £0.00 - ie Free Shipping. But, because it is not actually "free" OSC shows the shipping module in checkout_shipping. If you want to the shipping description to be "Free Shipping" instead of the module name just go into the module and alter the name string - it is really obvious where to do this once the file is open. :D
  3. Hi, I am trying to get the Gift Wrap (http://addons.oscommerce.com/info/8115) order_total to work as per your instructions, as yet with no success. Please can you point me in the right direction. The code I have used is as follows: // Gift Wrap - start $orig_amt = $params['AMT']; $before=$paypal_express->format_raw($order->info['total'], '', 1); if (MODULE_ORDER_TOTAL_GIFTWRAP_STATUS=='true') { include(DIR_WS_MODULES . 'order_total/ot_giftwrap.php'); include(DIR_WS_LANGUAGES . $language . '/modules/order_total/ot_giftwrap.php'); $ot_giftwrap = new ot_giftwrap; $ot_giftwrap->process(); $after = $paypal_express->format_raw($order->info['total'], '', 1); $params['AMT'] = $orig_amt; if($before<$after){ $params['AMT'] = $params['AMT'] +($after-$before); $giftwrap=$after-$before; $params['L_NAME' . $line_item_no] = html_entity_decode(MODULE_ORDER_TOTAL_GIFTWRAP_TITLE); $params['L_AMT' . $line_item_no] = ($paypal_express->format_raw($giftwrap)); $params['L_QTY' . $line_item_no] = 1; $params['ITEMAMT']=$params['ITEMAMT']+(($paypal_express->format_raw($giftwrap))); } } // Gift Wrap - end The gift Wrap title and value do not get passed to Paypal. Please help, where I am I going wrong?? Regards Simon
  4. simonhornby

    Shipping in cart

    Hi, Great contribution, thanks!! Please will you let me know how I can include a free shipping module (not necessarily ot_free_shipping) in the drop down list. We offer fee shipping and expedited shipping (at a cost) to our customers. So it is important they can see all shipping options which are available. Otherwise they may not be aware of the free shipping option and bang goes the sale. We have all of the shipping options showing on the Checkout Shipping page and I would like to mirror this in the Shopping Cart drop-down. Regards Simon Hornby
  5. Hi All, If anyone can shed any light on this I would appreciate the help. As you can see I have no labels for the different fields. It appears the javascript and stylesheets are not being picked up for the Simple Checkout but are being picked up for other parts of the page. I have checked and double checked the install and all looks well. The only thing I can thinks of is that I am using the Theme Switcher addon which may be interfering with things. Any Ideas?? Simon
  6. Hi, I like this contrib very much, just one thing. When not logged-in, the shipping method shows only international shipping available (I have the selected country defaulting to the store country). When logged-in domestic shipping shows correctly but the order total at the bottom of the page still shows the international shipping and hence an incorrect order total. When using the standard OSC 2.31 checkout all is fine - Any ideas?? Cheers Simon
  7. simonhornby

    Google XML Sitemap SEO

    Hi Jack Thanks for the prompt reply. To be honest I would be happy to excluse all categories from the sitemap and only show products and manufacturers. How can I remove categories? BTW googlebot has been going mad overnight since I installed the sitemaps SEO contribution on my site - over 3000 page hits and counting. Regards Simon
  8. simonhornby

    Google XML Sitemap SEO

    Hi Jack, Forgive me if this has been covered before but I haven't come across it yet. Firstly thanks for the great contribution - very easy install and worked 1st time (if only they were all like that!!!) I have a perfumes website (www.styleperfumes.co.uk) and it is organised so that only 5 categories are visible to the public (For Him, For Her, Gift Sets etc). The rest of the 90 odd categories are hidden from view as they are used for back of house organisation and, basically, mirror the manufacturers list. So, for exanple, a single product such as a Hugo Boss man's Gift Set will appear in the following categories ->"For Him" (visible), "Gift Sets" (visible) and "Hugo Boss" (not visible). My question is:- Will this multiple duplication of categories upset Google? If so is there anything I can do about it? Thanks and best regards Simon
  9. simonhornby

    The Feedmachine Solution

    Google-base Shipping Attribute Hi Rainer, As Google now require the "shipping" attribute to be included in the feed do you have any plans for an update? The problem is that we have numerous products with different weights and Google requires than shipping is shown for each country for each product in the feed. I have only covered the UK at present which at least stops the error messages but for international orders it seem like it is going to be very long-winded to fix this properly. I have added the following to google-product-search-us-en.php 'shipping' => array('output' => 'UK::Free Shipping:0 GBP,UK::Recorded Delivery: 0.89 GBP', 'type' => 'VALUE', ), Can you suggest anything better? Cheers Simon
  10. simonhornby

    The Feedmachine Solution

    Hi Rainer, Thank you very much, that worked a treat. How can I now get the price to show to only 2 decimal places? Some of the calculated prices are showing upto 6 decimal places at the moment - does this actually matter? And one more thing... I entered the ftp server as "uploads.google.com" and my username and password from my merchant account but it doesn't work (can't connect to server error) - any ideas? Cheers Simon
  11. simonhornby

    The Feedmachine Solution

    Hi All, What a great contrib. However, I have one problem which is driving me nuts. I cannot for the life of me get the price to include VAT in the output file. The store is set to display prices inc tax, I have the config file set to FINAL_PRICE_WITH_TAX. I have even checked the country zones etc to make sure the store applies the correct tax regime. In every other respect the tax shows correctly in the front of house and in admin. What I am I doing wrong? Has anyone else had this issue? Yes, I can manually adjust the prices in Excel prior to uploading to Google but that kind of defeats the object. I look forward to help with this one Cheers Simon
  12. simonhornby

    Google Ceckout Install - Fatal Error

    Hi Jim, Thanks for that. Filenames.php was actually in the modules/shipping folder!!! God's only knows how I managed that one!!! But Cheers, The shopping cart is now showing the Google Checkout button minus my bodge. It even works - orders are getting thorugh to Google. Next problem... /googlecheckout/responsehandler.php not returning order details to the site.... ho hum, here we go again. Simon
  13. simonhornby

    Google Ceckout Install - Fatal Error

    Hi All, I have installed Google Checkout v 1.5 into my highly modifed store. Unfortunately I am getting the following error messgage:- "Fatal error: Cannot intantiate non-existant class:filenames in .../googlecheckout/gcheckout.php on line 371" Here's The code from a few lines before the troublesome bit... 362 $module_info = array(); 363 $module_info_enabled = array(); 364 for ($i = 0, $n = sizeof($directory_array); $i < $n; $i++) { 365 $file = $directory_array[$i]; 366 367 include_once (DIR_FS_CATALOG .DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $file); 368 include_once ($module_directory . $file); 369 370 $class = substr($file, 0, strrpos($file, '.')); 371 $module = new $class; I have made a temporary fix by commenting out line 370 and a '}' further down the page. Does anybody know where the "non-existant class:filenames" Should be? Thanks Simon nb both filenames.php are in thier respective directories
  14. RCS and SEO URLs Hi all, I have Recover Cart Sales(v2.23d) & SEO URLS's installed - both are working fine - thanks for the great work to the contibutors. There is just one problem I have with them. When RCS sends out an email to the customer its shows the link to the product as /product_info.php?products_id=XXX ie in the stock Osc format. So when the link is clicked, SEO URLs jumps in and rewrites it to just /product_info.php - which then gives the message that the product is out of stock even when there's loads of stock!!! The link code I have for the RCS email is HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'product_info.php'.'?products_id='. I have disabled this for the time being until I get a fix. Can anyone suggest something that will work with SEO URL's - to tweak .htacces maybe?? If so how??? Thanks in anticipation Simon
  15. simonhornby

    Recover Cart Sales

    RCS and SEO URLs Hi all, I have Recover Cart Sales(v2.23d) & SEO URLS's installed - both are working fine - thanks for the great work. There is just one problem I have with them. When RCS sends out an email to the customer its shows the link to the product as /product_info.php?products_id=XXX ie in the stock Osc format. So when the link is clicked, SEO URLs jumps in and rewrites it to just /product_info.php - which then gives the message that the product is out of stock even when there's loads of stock!!! The link code I have for the RCS email is HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'product_info.php'.'?products_id='. I have disabled this for the time being until I get a fix. Can anyone suggest something that will work with SEO URL's - to tweak .htacces maybe?? If so how??? Thanks in anticipation Simon
×