Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quasi

Archived
  • Posts

    77
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rob
  • Location
    UK

Quasi's Achievements

  1. Hi all, I've had a look through the contributions but I haven't been able to find one that does this, though I'm sure something like it does exist! I'm looking for a contrib that would let a non-technical store owner change the text on various pages via an HTML form and so would store the text in the database. I would like the store owner to be able to update text on the following pages: frontpage (index.php) Shipping & Returns Privacy Notice Conditions of Use Contact Us A very simple CMS really. TIA!
  2. Hi, I need to adapt the shipping order total module so it decides which shipping module to use dependant on the products in the cart, I'm just wondering if anyone has done this before or has any comments. All the products we currently sell are shipped via a normal courier and we use the zones shipping module to work out the costs which works fine. We are going to start selling a different type of product for which the customer will be charged X no matter how many of them he buys. So what I need is a way for osCommerce to differentiate between the two types of product, I was thinking of adding another field to the products tables, (eg, alter table products add products_ship_type int default '0';). A value of '0' is a normal product that should use the zones rate shipping as normal, a value of '1' would indicate the product needs shipping charged with a flat rate. If someone buys products of type '0' and '1' then both shipping costs need to be applied. I'm guessing this would need to be done in the ot_shipping.php code. Any ideas, comments, help gratefully received.
  3. includes/modules/shipping/zones.php, somewhere around line 111 change $this->num_zones = 1; to however many zones you want. Note - Im using MS1, it might be a bit different in MS2.
  4. Though if you do want to change it in the code its in includes/affiliate_application_top.php, around line 120. I have a problem with the cookies in affiliate, I wonder if anyone else has experienced this. I click through a referring banner, and the cookie gets a [affiliate_ref] => 1 added to it. I buy something and the commission gets credited to the affiliate as it should be. I wait for the cookie to expire and then buy something else, but it STILL gets credited to the affiliate, even when there is no longer a [affiliate_ref] in the cookie. I have no idea why it is doing this. Im checking the cookies by having a cookies.php on the server: <?php print_r($_COOKIE); ?>
×
×
  • Create New...