Jump to content

Alley Kat

Members
  • Content count

    33
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Bill
  1. My site isn't taking any notice of the Minimum Re-order Level. It regards the re-order level as zero, no matter what's set in admin. Any ideas? The rest seems to work as it should. I'm seriously stuck, this site needs to go live and the stock levels are a vig requirement, Thanks all Bill
  2. ** PLS IGNORE ABOVE POST No way of editing/removing, sorry. Current questions here: I've added 4.3 and noticed a couple of things: 1) After deleting Products Attributes: qty update fails We delete all options for a product (Catalog > Options Attributes). The "Stock" button against the product then shows a Quantity field and "Update" button. But this only allows us to change the value once....? Further adjustments don't work... Changing the value in the normal Edit Product screen works fine though. 2) If we re-add any of the options we'd previously deleted (Catalog > Options Attributes), *all* previous options re-appear also in the item, when you hit the Stock button. If they had Stock Quantities before, they re-appear too.... This is a bad one. It probably means having to dive into phpMyAdmin, which a client certainly won't and shouldn't do. So it seems that deleting Products Attributes doesn't actually delete their associated stock info Any help much appreciated folks!
  3. I've added 4.3 and noticed a couple of things: 1) Amending stock level We have a few options being tracked e.g. Black, size 10, qty 12 Black, size 8, qty 14 There doesn't seem to be a way to amend the quantities - or am I missing something? I've tried switching stock tracking off and on, no change. This is a big problem for us because the clients shop sells from a physical shop as well, and so needs to amend stock levels manually. 2) After deleting Products Attributes: qty update fails We delete all options for a product. The "Stock" button against the product then has a Quantity field and "Update" button. But this fails to change the value. Changing the value in Edit Product works though. 3) If we re-add any of the options we'd previously deleted, all re-appear and all stock levels are as before So it seems that deleting Products Attributes doesn't actually delete their associated stock info Any help much appreciated folks!
  4. Sussed it. The code just assumes that there will be 6 imgs and tries to echo out tags. My fix: Find the six lines like this, there's one per img: <?php echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_1_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); ?> I modded mine to do a quick check to see if an img name was found, and only write out a tag if so. Moved the line break so there is always a break no matter how many imgs are there. Replace the block of 6 lines with this (back up first! you know the score...): <?php if ($products_image_sm_1_name!="") { echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_1_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); } if ($products_image_sm_2_name!="") { echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_2_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); } if ($products_image_sm_3_name!="") { echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_3_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); } echo '<br>'; if ($products_image_sm_4_name!="") { echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_4_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); } if ($products_image_sm_5_name!="") { echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_5_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); } if ($products_image_sm_6_name!="") { echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_sm_6_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="center" hspace="5" vspace="5"'); } echo '<br>'; ?> P'raps there's a better way but I haven't got time at the mo, HTH cheers Bill
  5. I'm getting the red x's in Preview; does anyone have a fix for this? Each image is previewed OK, but underneath the three previews there is an 'extra' set of three 'red x' images. Saw two posts in here with the same prob but no solutions posted: did you folks find a fix? cheers all Bill
  6. Alley Kat

    Protx - Form

    Thanks Tom: sorted ...
  7. Alley Kat

    Protx - Form

    Hi Toby, did you solve this? I have the exact same problem... cheers Bill
  8. Alley Kat

    [Contrib] Make An Offer

    Hi Howard, cheers for the reply. TBH it was a bit ago and I can remember the error exactly; what I found was, there is an error with fix detailed in this thread, but was still present in the version I downloaded. Re the price/options side, can you give me any clues? I'm not an oscommerce or PHP guru, kind of middling PHP I suppose... :blush: Cheers, Bill
  9. Alley Kat

    [Contrib] Make An Offer

    Anyone? wheeloftime?
  10. Alley Kat

    [Contrib] Make An Offer

    Hi; I've installed this and it seems to work, bar these points: 1) The error in catalog/make_an_offer.php is still present in the latest download set (fix is noted in this topic but not in the current install notes) 2) It doesn't seem to work in the situation where 'accept directly' is false (i.e. the offer form is called into play), and where the product has options which modify the price. For instance, a product cost ?50 but has an option which adds on ?25; the form shows the product base price (?50) and not the actual price of ?75. Also the product name/description doesn't indicate an option has been chosen. Is there a way round these? [i do have a real-time price updater installed, could this be the cause? I suspect not though] Lastly, popthetops links to the forum, re misc payments, don't work - pop have you got any info on that? Searched with no luck; Cheers all...
  11. Alley Kat

    How Did You Hear About Us - Support

    Edit to above: There is no call to check_select() for the "source" drop-down, in the JavaScript of the create_account.php. Can't see a reference to it in the contrib either?
  12. Alley Kat

    How Did You Hear About Us - Support

    Hi all; I installed the contrib, and all went wel except for one part - it all works except that, although the Referral choice is required, it's not enforced when registering a new account. It doesn't appear on the validation dialogue along with the other fields. I've checked my code, but might be having code blindness now... any pointers would be much appreciated. All works fine, no errors, just no validation/enforcement of the referral source drop-down Cheers, Bill
  13. A mod which may help someone. I wanted to make it easier to track vouchers vs orders, so i'm showing order numbers in Admin > Customers > Orders and in Admin > Vouchers/Coupons > Coupon Admin > Report. Quick & dirty, not multi-language but we only have English in admin. 1) In /admin/coupon_admin.php: Under the section case 'voucherreport': Find these: <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo CUSTOMER_ID; ?></td> Add this right below them: <td class="dataTableHeadingContent">Order #</td> And a little further down, where the rows are written out, find: <td class="dataTableContent"><?php echo $cc_list['customer_id']; ?></td> Add this under it: <td class="dataTableContent" align="center"><?php echo $cc_list['order_id']; ?></td> 2) in admin/orders.php In the section with: <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CUSTOMERS; ?></td> Add a row between those two like this: <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent">#</td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CUSTOMERS; ?></td> A little further down, where the rows are written out, find the line starting with: <td class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID' And add a line above it like this: <td class="dataTableContent"><?php echo $orders['orders_id'];?></td> HTH. We needed to ease matching of vouchers to orders & this helps.
  14. A bug and a bug fix: Sorry, not sure how best to post these, and maybe there's a better way, but here goes: In 510C (using the most recent of the fixed ones in the contrib). If you create a Discount Voucher with a single quote in the description, you can add it fine. E.g. "We're sending you this because we're nice." However, if you later try to edit the Voucher, a SQL error is thrown. My fix is this (if there's a better or more osC-conformist way pls say): In my /catalog/admin/coupon_admin.php at about line 141 which reads: $update = tep_db_query("update " . TABLE_COUPONS_DESCRIPTION . " set coupon_name = '" . tep_db_prepare_input($HTTP_POST_VARS['coupon_name'][$language_id]) . "', coupon_description = '" . tep_db_prepare_input($HTTP_POST_VARS['coupon_desc'][$language_id]) . "' where coupon_id = '" . $HTTP_GET_VARS['cid'] . "' and language_id = '" . $language_id . "'"); Change it to this (put addslashes round the desc field): $update = tep_db_query("update " . TABLE_COUPONS_DESCRIPTION . " set coupon_name = '" . tep_db_prepare_input($HTTP_POST_VARS['coupon_name'][$language_id]) . "', coupon_description = '" . addslashes(tep_db_prepare_input($HTTP_POST_VARS['coupon_desc'][$language_id])) . "' where coupon_id = '" . $HTTP_GET_VARS['cid'] . "' and language_id = '" . $language_id . "'"); Hope this helps. Again not sure of best practice for posting stuff like this. Another prob/bug: In admin->Vouchers/Coupons->Gift Vouchers Sent i can see the Disc Vouchers automatically sent to new sign-ups. However, when I try to view any individual row (to see who it went to & when), all rows with the same Voucher Code are selected at once...and details of only one instance are ever shown, no matter which instance of the particular voucher code one tries to click. Still have my"refresh" prob tho HTH, cheers, Bill
  15. Hi Jacob, thanks for that, the problem is that with Discount Vouchers the discount doesn't get applied at all to the total. But if I refresh the confirmation pg, it then does.. weird. I tried messing with sort orders and putting ob_start() and ob_end_flush() in the confirmation page to try & get the whole page buffered before output. Didn't work, I'm still lost... cheers, Bill
×