Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sarah_h

Archived
  • Posts

    132
  • Joined

  • Last visited

Profile Information

  • Real Name
    Sarah Howells

Sarah_h's Achievements

  1. I looked through every post in that mammoth thread but missed it! Thanks for the guidance - the post lead me to some changes to create_account.php and create_account3.php which once implemented seems to stop the errors. I'll go off now and try some tests. Thanks again.
  2. Help! Since installing this contrib (Part 1 only combine checkout_shipping.php and checkout_payment.php) the buyer goes swifty through the checkout, which is fantastic BTW, gets to the confirm order on checkout_confirmation.php. This should then pass him to Paypal where he can either login and use his PP account or simply pay by CC. BUT he goes to the main Paypal page. The interesting this is if he (me in this case) simply presses back on the browser to go back to checkout_confirmation.php and then confirm again I then go to the right place! I've confirmed that this is happening since FEC was installed as I've gone back to the original files and all is ok. Can anyone shed some light on this one? Sarah
  3. I have installed this (saviour!) contrib, part one is good, works great. Part two however has not quite gone to plan. I get this error Warning: main(login_box.php): failed to open stream: No such file or directory in c:\program files\apache group\apache\htdocs\application_sites\test_fec\catalog\create_account.php on line 377 Warning: main(login_box.php): failed to open stream: No such file or directory in c:\program files\apache group\apache\htdocs\application_sites\test_fec\catalog\create_account.php on line 377 Fatal error: main(): Failed opening required 'login_box.php' (include_path='.;c:\php4\pear') in c:\program files\apache group\apache\htdocs\application_sites\test_fec\catalog\create_account.php on line 377 I'm sure I installed everything ok but there was some confusion in STEP 2 of part 2. 'Upload all files in the new_files' folder to your catalog directory'. I could not see a 'new_files' folder in the contrib files (version 3.1) so I uploaded create_account3.php, account_password_new.php, global.js to the catalog folder and overwrote create_account.php in the catalog folder with the one supplied. Can anyone help guide me in the right direction as to why I'm getting the above error and whether I'm right about the placement of the files specified above. Thanks Sarah
  4. Supertracker's great and has helped a lot with my marketing etc but what does this mean when this is displayed: Added to Cart: true (ok, that's obvious!) Completed Purchase: false (did not go through to Paypal) Products Viewed : (everything they viewed) IMAGE Customers Cart : (value=0) : (OK, what's this mean?) IMAGE Quantity: 1 There's a difference with this too: Added to Cart: true Completed Purchase: false Products Viewed : IMAGE Ok, this last one has been added to cart also but does not show the Customer cart value bit. So that's my question - what's the difference between the two types of info? Hope you can shed some light ... Sarah
  5. Can anyone help me understand why the zone rates change between the checkout_shipping.php and order_confirmation.php. On checkout_shipping I have a value of $1.77 but when I get through to order_confirmation this value has been reduced to $1.63!! What heppens between/on order_confirmation to make this change? I really hope someone can help me on this. Sarah
  6. Anybody got an example of this on a site so I can have a look? I'm not sure if it's what I need and would certainly love to take a buchers! Thanks Sarah
  7. I'm getting a bit desperate now. Can anyone help as I've stil got the "Not Found The requested URL /catalog/textures-c-32.html was not found on this server." I've made sure that I've installed the contrib properly and followed the instructions, I've also made sure that apache is configured with its rewite enabled and made the .htaccess file, and tried most of the setting in admin to see what effect they had and read through every post in this thread but still no go. I don't really know where to go with this. Sarah
  8. Oops, perhaps I should also say that the rounding occurs on the checkout_shipping.php page only, when I get to order_confirmation.php the values are correct!
  9. I'm glad I found this thread but the fix, sadly, does not work for me. I use Zone rates and UK special Delivery and OSC is rounding, can anyone offer some guidance as how I might go about correctling this? Thanks, Sarah
  10. Thanks and yes I have installed and tried it locally. OSC in itself works fine but after installing this contrip, specifically 2.1c (and d) I am getting the 404 page not found. The links on have changed ok but I think it's my .htaccess that giving me trouble. I think I'm a bit confused about the RewiriteBase/catalog/ bit. The installation docs differentiate between the store located in a directory as opposed to the root. CAn you clarify this (I appologise if this is fundemental!!) The contents of my file are: # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> Options +FollowSymLinks RewriteEngine On RewriteBase /catalog/ RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} I also turning off most of the features as you suggested but no joy, still the 'Not Found'! Thanks anyway, Sarah
  11. Sorry to ask this again, but can anyone answer this, particulary whether this contrib will work on my local machine. I'm wondering whether these 404 (product not found) are a resuly of my running locally?? I'd relally appriciate any comment on this. Thanks. Sarah
  12. Hello all, I've just installed the very promising Ultimate SEO, it went well without a hitch but I've a couple of questions: 1. will this work on localhost? My site resides here htdocs/application_sites/client_six/catalog. It's changing the URL and making the html bit but getting a 404 when clicking the link? My .htaccess resides in the catalog dir and I've specified \catalog\ as the rewritebase. All other pages ok BTW. But I thought that this may be because I'm using it on my local machine, would this be the case do you think? 2. where in admin can I switch off and on SEO? Thanks Sarah Anyone got an opinion on this??
  13. Hello all, I've just installed the very promising Ultimate SEO, it went well without a hitch but I've a couple of questions: 1. will this work on localhost? My site resides here htdocs/application_sites/client_six/catalog. It's changing the URL and making the html bit but getting a 404 when clicking the link? My .htaccess resides in the catalog dir and I've specified \catalog\ as the rewritebase. All other pages ok BTW. But I thought that this may be because I'm using it on my local machine, would this be the case do you think? 2. where in admin can I switch off and on SEO? Thanks Sarah
  14. Excellent contrib!! the only downside for me is that I can now see how many folk fill their cart and then abandon it later on!!! Oh well. Anyway my question is this, I notice that if someone has added a product to the cart I see this Customers Cart : (value=0) : I'm presuming that this is the total amount in value of products in their cart? Why would this be 0. Everything else works so I'm not sure if I've messed up or not. Any ideas. Sarah
  15. Seems I'm replying to my own post!!! Anyway I've made ome changes to catalog/includes/modules/order_total/ot_xmembers.php so that if the visitor uses PWA then they do not get a discount. These are the changes I've made: I've changed the member_flag field in the DB so that it defaults to 1 so that it defaults to everyone getting a discount. Then I've amended ot_xmembers.php like this so that only members get a discount. function calculate_credit($amount) { global $order, $customer_id; $od_amount=0; $od_pc = $this->percentage; if ($amount > $this->minimum) { $query = tep_db_query("select member_flag, purchased_without_account from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $query_result = tep_db_fetch_array($query); if ($query_result['member_flag'] == '1' && $query_result['purchased_without_account'] == '0') {// Calculate tax reduction if necessary if($this->calculate_tax == 'true') { // Calculate main tax reduction $tod_amount = round($order->info['tax']*10)/10*$od_pc/100; $order->info['tax'] = $order->info['tax'] - $tod_amount; // Calculate tax group deductions reset($order->info['tax_groups']); while (list($key, $value) = each($order->info['tax_groups'])) { $god_amount = round($value*10)/10*$od_pc/100; $order->info['tax_groups'][$key] = $order->info['tax_groups'][$key] - $god_amount; } } $od_amount = round($amount/10); $od_amount = $od_amount + $tod_amount; } } return $od_amount; } I'm not sure if this is the right way to do it though (probably not!! My coding skills are fairly basic) but it does work. Sarah.
×
×
  • Create New...