Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Kes

Archived
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Kes

  1. Please help.

    Since updating shop I cannot edit more than 12 products.

     

    Update with or without ajax works great for the first 12 products after that it isn't calculating or adding shipping.

     

    I have update compadibility files with code below but that hasn't helped.

     

    Any ideas please. The shop is a vege shop so most people order more than 12 products.

     

    cheers

    CODE

    reset($ar);

     

     

    It will end up looking like this:

     

    CODE

    function do_magic_quotes_gpc(&$ar) {

    if (!is_array($ar)) return false;

    while (list($key, $value) = each($ar)) {

    if (is_array($ar[$key])) {

    do_magic_quotes_gpc($ar[$key]);

    } else {

    $ar[$key] = addslashes($value);

    }

    }

    reset($ar);

    }

  2. Hi DJ, and thankyou for a great contribution! I'm in the middle of testing it on my dummy store and have encountered this problem as well. All I've done here is removed an item from the order. Here's a before and after screenshot.

     

    Now you see it:

    now_you_see_it_reduced.JPG

     

    Now you don't:

    now_you_dont_reduced.JPG

     

    The shipping quote part disappears, as do the subtotals and the ability to add a product. I know sweet bugger-all about AJAX, so have no idea where to start troubleshooting.

     

    Cheers,

    Max.

     

    I am having this same problem. It happens with the shipping update and on long orders when a product quantity changes

     

    I would really appreciate any help you could give me.

     

    Cheers

    Kes

  3. Please help. Some not all orders disappear from order list after and update.

     

    The update can be of any type. eg. delivery, add product, payment type.

     

    I am using order_editor.

     

    The orders are still in DB just can nolonger be seen in admin.

     

    I have deleted old orders in case it was a space issue. This hasn't helped.

     

    The shop has been up for over a year and this has just started to happen.

     

    Any ideas much appreciated.

    Cheers

  4. Hi, I am hoping smeone can help. I have just added the latest contribution and want 1 column to display with attributes.

    When i have 3 columns all is well.

    when i have two colums the attributes double

     

    Untitled.gif

     

    When i choose 1 column to display i get no attributes showing.

     

    Can anyone help with this please

    cheers

  5. Hi, I am just setting up a shop and it looks fine in IE & Opera But in firefox there are no borders around the boxes. Any help would be much appreciated.

     

    http://barossa.myownserver.net/~alittle/shop/

    Cheers

     

    Style sheet

     

    .boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff;}

    .errorBox { font-family : Verdana, Arial, sans-serif; font-size : 10px; background: #999999; font-weight: bold; }

    .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; }

    .productsNotifications { background: #999999; }

    .orderEdit { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #70d250; text-decoration: underline; }

     

    BODY {

    text-align: center;

    background: #000000;

    color: #ffffff;

    margin: 0px;

    }

     

    .fixcenter {

    width: 778px;

    border: solid; border-width: 2px;

    background: #000000;

    color: #ffffff;

    margin: auto;

    margin-top: 20px;

    text-align: left;

     

    }

     

    A {

    color: #ff0000;

    font-weight: bold;

    /*text-decoration: none;*/

    }

     

    A:hover {

    color: #ffffff;

    text-decoration: underline;

    }

     

    FORM {

    display: inline;

    }

     

    TR.header {

    background: #000000;

    color: #ffffff;

    }

     

    TR.headerNavigation {

    background: #ff0000;

    }

     

    TD.headerNavigation {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    background: #ff0000;

    color: #ffffff;

    font-weight : bold;

    }

     

    A.headerNavigation {

    color: #000000;

    }

     

    A.headerNavigation:hover {

    color: #000000;

    }

     

    TR.headerError {

    background: #ff0000;

    }

     

    TD.headerError {

    font-family: Tahoma, Verdana, Arial, sans-serif;

    font-size: 12px;

    background: #ff0000;

    color: #ffffff;

    font-weight : bold;

    text-align : center;

    }

     

    TR.headerInfo {

    background: #00ff00;

     

    TD.headerInfo {

    font-family: Tahoma, Verdana, Arial, sans-serif;

    font-size: 12px;

    background: #00ff00;

    color: #ffffff;

    font-weight: bold;

    text-align: center;

    }

     

    TR.footer {

    background: #ff0000;

    }

     

    TD.footer {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    background: #ff0000;

    color: #ffffff;

    font-weight: bold;

    }

     

    .infoBox {

    background: #ff0000;

    }

     

    .infoBoxContents {

    background: #000000;

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #ffffff;

    }

     

    .infoBoxNotice {

    background: #FF8E90;

    }

     

    .infoBoxNoticeContents {

    background: #999999;

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #ffffff;

    }

     

    TD.infoBoxHeading {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    font-weight: bold;

    background: #ff0000;

    color: #ffffff;

    }

     

    TD.infoBox, SPAN.infoBox {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #ffffff;

    }

     

    TR.accountHistory-odd, TR.addressBook-odd, TR.alsoPurchased-odd, TR.payment-odd, TR.productListing-odd, TR.productReviews-odd, TR.upcomingProducts-odd, TR.shippingOptions-odd {

    background: #999999;

    }

     

    TR.accountHistory-even, TR.addressBook-even, TR.alsoPurchased-even, TR.payment-even, TR.productListing-even, TR.productReviews-even, TR.upcomingProducts-even, TR.shippingOptions-even {

    background: #999999;

    }

     

    TABLE.productListing {

    border: 1px;

    border-style: solid;

    border-color: #ff0000;

    border-spacing: 1px;

     

    }

     

    .productListing-heading {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    background: #ff0000;

    color: #ffffff;

    font-weight: bold;

     

    }

     

    TD.productListing-data {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #000000;

     

    }

     

     

    A.pageResults {

    color: #00ff33;

    }

     

    A.pageResults:hover {

    color: #00ff33;

    background: #FFFF33;

    }

     

    TD.pageHeading, DIV.pageHeading {

    font-family: Verdana, Arial, sans-serif;

    font-size: 20px;

    font-weight: bold;

    color: #ffffff;

    }

     

    TR.subBar {

    background: #999999;

    }

     

    TD.subBar {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #ffffff;

    }

     

    TD.main, P.main {

    font-family: Verdana, Arial, sans-serif;

    font-size: 11px;

    line-height: 1.5;

    color: #ffffff;

    }

     

    TD.smallText, SPAN.smallText, P.smallText {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #ffffff;

    }

     

    TD.accountCategory {

    font-family: Verdana, Arial, sans-serif;

    font-size: 13px;

    color: #ffffff;

     

    }

     

    TD.fieldKey {

    font-family: Verdana, Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    }

     

    TD.fieldValue {

    font-family: Verdana, Arial, sans-serif;

    font-size: 12px;

    }

     

    TD.tableHeading {

    font-family: Verdana, Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    }

     

    SPAN.newItemInCart {

    font-family: Verdana, Arial, sans-serif;

    font-size: 10px;

    color: #ff0000;

    }

     

    CHECKBOX, INPUT, RADIO, SELECT {

    font-family: Verdana, Arial, sans-serif;

    font-size: 11px;

    }

     

    TEXTAREA {

    width: 100%;

    font-family: Verdana, Arial, sans-serif;

    font-size: 11px;

    color: #ff0000;

    }

     

    SPAN.greetUser {

    font-family: Verdana, Arial, sans-serif;

    font-size: 12px;

    color: #ff0000;

    font-weight: bold;

    }

     

    TABLE.formArea {

    background: #999999;

    border-color: #7b9ebd;

    border-style: solid;

    border-width: 1px;

    }

     

    TD.formAreaTitle {

    font-family: Tahoma, Verdana, Arial, sans-serif;

    font-size: 12px;

    font-weight: bold;

    }

     

    SPAN.markProductOutOfStock {

    font-family: Tahoma, Verdana, Arial, sans-serif;

    font-size: 12px;

    color: #c76170;

    font-weight: bold;

    }

     

    SPAN.productSpecialPrice {

    font-family: Verdana, Arial, sans-serif;

    color: #ff0000;

    }

     

    SPAN.errorText {

    font-family: Verdana, Arial, sans-serif;

    color: #ff0000;

    }

     

    .moduleRow { }

    .moduleRowOver { background-color: #999999; cursor: pointer; cursor: hand; }

    .moduleRowSelected { background-color: #999999; }

     

    .checkoutBarFrom, .checkoutBarTo { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #8c8c8c; }

    .checkoutBarCurrent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; }

     

    /* message box */

     

    .messageBox { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #00ff00; }

    .messageStackError, .messageStackWarning { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #8c8c8c; }

    .messageStackSuccess { font-family: Verdana, Arial, sans-serif; font-size: 10px; background-color: #99ff00; }

     

    /* input requirement */

     

    .inputRequirement { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ff0000; }

     

    .cssButton {

    background: #ff0000;

    color: #ffffff;

    width: 100px;

    height: 20px;

    vertical-align: top;

    font-weight: bold;

    font-family: Tahoma, Verdana, Arial, sans-serif;

    font-size: 12px;

    cursor: pointer;

    text-align: center;

    text-decoration: none;

    border: 2px;

    border-style: solid;

    border-color: #ffffff;

    border-spacing: 1px;

    }

  6. Hi,

    I have just installed orderlist 4 and it is just what i needed. :thumbsup: thanks!! it includes attributes which is great.

     

    I noticed earlier versions have the option to print to file which i also really need but 4 only prints to paper.

     

    Can anybody help with the code to do this.

     

    It would be much appreciated.

    thanks

  7. I have been searching for a contribution that will allow shoppers to buy some products by quantity and others by weight.

     

    It is a fruit and veg shop so grapes sell by kg and bananas sell by quantity.

     

    if this is not possible is there a contribution where you can enable quantity to be a decimal.

     

    thanks for all ideas.

  8. I have installed product listing multiple columns for sppc v2.1 and wish to change the look. I have changed the colums to 1 and now wish to get all product info on one line.

     

    Currently looks like shop

     

    Blade Runner - Director's Cut

    $30.00

    Qty.

     

    I would like it to look like

    Blade Runner - Director's Cut $30.00 Qty.

     

     

    This is the relevant code can someone please help

     

     

    // WARNING the code assumes there are three products per row. To use a different number change the number

    // at line 195: if ($column >= 3) and the code to fill up the table row below that accordingly

    ___________________________________________________________________________

    $counter = $row;

    $class_for_buy_now = 'class="productListing-odd"';

    $list_box_contents[$row] = array('params' => 'class="productListing-odd"');

    for ($x = 0; $x < $no_of_listings; $x++) {

     

    $rows++;

     

    if (($rows/2) == floor($rows/2) && ($row > $counter)) {

    $list_box_contents[$row] = array('params' => 'class="productListing-even"');

    $class_for_buy_now = 'class="productListing-even"';

    $counter = $row;

    } else {

    if ($row > $counter) {

    $list_box_contents[$row] = array('params' => 'class="productListing-odd"');

    $class_for_buy_now = 'class="productListing-odd"';

    $counter = $row;

    }

    }

     

    $product_contents = array();

     

    for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

    $lc_align = '';

     

    switch ($column_list[$col]) {

    case 'PRODUCT_LIST_MODEL':

    $lc_align = '';

    $lc_text = ' ' . $listing[$x]['products_model'] . ' ';

    break;

    case 'PRODUCT_LIST_NAME':

     

    $lc_align = '';

    if (isset($HTTP_GET_VARS['manufacturers_id'])) {

    $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . '</a>';

    } else {

    $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . '</a> ';

    }

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $lc_align = '';

    $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing[$x]['manufacturers_id']) . '">' . $listing[$x]['manufacturers_name'] . '</a> ';

    break;

    case 'PRODUCT_LIST_PRICE':

    $lc_align = 'right';

     

    if (tep_not_null($listing[$x]['specials_new_products_price'])) {

    $lc_text = ' <s>' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing[$x]['specials_new_products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . '</span> ';

    } else {

    $lc_text = ' ' . $currencies->display_price($listing[$x]['products_price'], tep_get_tax_rate($listing[$x]['products_tax_class_id'])) . ' ';

    }

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $lc_align = 'right';

    $lc_text = ' ' . $listing[$x]['products_quantity'] . ' ';

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $lc_align = 'right';

    $lc_text = ' ' . $listing[$x]['products_weight'] . ' ';

    break;

    case 'PRODUCT_LIST_IMAGE':

    $lc_align = 'center';

    if (isset($HTTP_GET_VARS['manufacturers_id'])) {

    $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing[$x]['products_image'], $listing[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>';

    } else {

    $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing[$x]['products_image'], $listing[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> ';

    }

    break; // EOF Separate Pricing per Customer

     

    ____________________________________________________________________

    thanks for any support

  9. I am using region and zone shipping modules as i only ship by weight.

     

    The problem is the weight changes from the weight entered.

     

    EG product weight is 4kg

    when you get to shipping it is 8kg

     

    It doesnt necessarily double 2kg becomes 5 kg.

     

    any ideas as to what is going on.

     

    Any help is appreciated

     

     

    Problem solved it is in your admin->configuraton->shipping/packaging settings

     

    Make sure larger packages is on 0 or it will double the weight and check package tare weight.

  10. I am using region and zone shipping modules as i only ship by weight.

     

    The problem is the weight changes from the weight entered.

     

    EG product weight is 4kg

    when you get to shipping it is 8kg

     

    It doesnt necessarily double 2kg becomes 5 kg.

     

    any ideas as to what is going on.

     

    Any help is appreciated

  11. I am using region based rates and have duplicated it for express shipping as well.

    I have four zones

     

    Australia some states

    Australia some states

    New Zealand

     

    Then the rest of the world.

     

    Can i get this module to recognise All Other countries rather than enter every other country??

     

    thanks for any help

×
×
  • Create New...