Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

mastubbs

Archived
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Real Name
    Matt Stubbs

mastubbs's Achievements

  1. Hi again Rob, I have a slightly odd problem. My seourls were working great (i love this contrib!) but now thay have gone a little funny... When i click a link in my store it takes me to mystore.com/products_info.php?products_id=123 and not the seourl. But, if i type into the address bar mystore.com/product-name-p-123.html it also takes me to that products page (not by redirection, it stays as mystore.com/product-name-p-123.html in address bar) so its kind of half-working - if that makes sense? I havnt really done very much to make this change happen (that i know of) - i did install a script to help keep my stock levels in line with my dropshipper and import new products but i cant see why that would have changed it. Any ideas? thanks loads in advance. Matt
  2. Hi there, I have a slightly odd problem. My seourls were working great (i love this contrib!) but now thay have gone a little funny... When i click a link in my store it takes me to mystore.com/products_info.php?products_id=123 and not the seourl. But, if i type into the address bar mystore.com/product-name-p-123.html it takes me to the products page. so its kind of half-working if that makes sense. Any ideas? thanks. Matt
  3. FIX : If anyone else is having this problem i managed to fix it by turning on rewrite urls. no idea why this fixed it but it did! Maybe Rob has an idea?
  4. Hi, I have a similar problem it seems to some other people: With Ultimate SEO urls switched on it seems to stop the product_info.php.html (from STS) pages from working, and instead just displays the standard product_info.php layout. I know for others the problem has been that they have HeaderTags installed and need to make the changes to $page in their header_tags.php file, but i dont even have the headertags contrib installed and im getting this problem. Can anyone help? Thanks very much in advance. Matt
  5. I meant to say also <?php DEFINE ('STS_CONTENT_END_CHAR', '$'); ?> <?php function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?>
  6. Hi all, Have a slightly odd question hopefully someone can help me me out? I guess u would need a pretty good knowledge of php and STS though... The problem is im using the sts product info module and have redesigned the $content area of the product info pages to include a nice little javascript tab system using jquery. The problem is the thing relys on being able to 'jump' to different parts of the page using href=#somewhere_else_on_page. This all works fine when i view the template page in my browser but when on the product_info.php page in the shop i get slightly strange problem. This is that the tab links no longer href to www.mysite.com/product_info.php?products_id=123/#tab1 but instead just to www.mysite.com/#tab1 (losing the "/product_info.php?products_id=123" bit) so i just end up at my index page! I have no idea how to stop this!! In the template the code is simply <a href="#tab1"><span>TAB 1</span></a> so you would'nt expect this to happen. I have managed to get around it to some extent by using <a href="<?php echo curPageURL(); ?>/#tab1"><span>TAB 1</span></a> the problem with this is that it looks pretty nasty as the tabs have a nice fade effect which is lost as the whole page has to reload this way before going to the #tab1 location. Im guessing somehow this is caused by sts but im not sure how. anyone with a good knowledge of the system i would really appreciate ur help! Thanks Matt
  7. OK, never mind i've just seen its part of the 'Product info' module in STS. Quite strange that with over 50 views of this post no one was able to tell me that though.... <_<
  8. Hi all, I have searched this a lot and it seems that this is possible but i cant find how to do it... I want to make a product_info.php template so that there are different elements (eg price, description, stock level etc...) [similar to STS]. I am using STS so at the moment i can only call $content, but i dont like the default lay out of this. Is there a way to edit the layout with a template like im describing without editing the product_info.php file? Thanks for any help anyone can give, sorry if this has been covered before (i have looked, honest!) Matt
  9. Hi all, I want to be able to do a number of things with shipping 1) calculate standard shipping cost based on weight 2) make this standard shipping free if over a specific total order cost 3) in either event, offer other available shipping options such as overnight, etc... at seperate cost also calculated by weight. Is that possible? thanks Matt
  10. Sorry guys i know this is not the right place to ask about this but its kind of a similar idea to the contrib so thought someone here might know a bit more about it than i do... or at least point me in the right direction.....! My question is whether there any way to to set up a live stock feed to an osc store via xml? My supplier has a live XML feed of the 'stock status' of all their items so i was wondering if i could use that to populate my stock levels, so allowing customers to purchase only things the supplier actually has in stock, and that updates automatically. Once again sorry for posting here but if anyone can point me in the right direction it would be greatly appreciated. Thanks Matt
×
×
  • Create New...