Jump to content

clayts

Members
  • Content count

    70
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Clayton Hayward
  1. clayts

    Royal mail

    That last point will be to do with your shipping/packaging options in the Configuration menu in Admin - set the tare weight to zero (it currently automatically assumes everything is 3kg...)
  2. clayts

    xmembers 2.2

    It sounds like you haven't uoploaded the second file : catalog/includes/languages/english/modules/order_total/ot_xmembers.php In addition, if you wish, you can edit the lines in that file and reupload :) Specifically : define('MODULE_XMEMBERS_TITLE', 'Members Discount') Change 'Members Discount' to whatever you want...
  3. clayts

    xmembers 2.2

    Just installed this myself and was scratching my head - finally got it working now :) You need to add the member flag in your database (ie via MySQL, phpMyAdmin), it's not something you can do from the admin panel. Assuming you ran the SQL query included in the contribution (it's hidden at the top of the read me file - just one line) select the members you want to attract the discount (I do a search for the surname). It defaults all customers to NIL apart from the ones you want - for these set the member flag to 1 in MySQL phpMyAdmin. Also ensure you set the parameters correctly in Admin/Modules/Order Totals, esp the sort order : mine is 5, if that helps - i.e. shows full price, then shipping, then sub total, less member discount....order total. Hope that helps :)
  4. clayts

    NoChex APC issue

    There is a fix in the Nochex APC support thread, specifically here :)
  5. clayts

    payment pending?

    In Admin->Modules->Payments under the Paypal heading, what have you set the order status to change to after the Paypal order is approved ? If it's set to pending, the download link will not appear - try setting it to something higher, eg PayPal IPN verified, or Delivered...
  6. clayts

    Master Products - MS2

    Here you go - post 1083
  7. clayts

    Master Products - MS2

    I believe multi-master slaves will be on a future release, if and when Matti gets time... With regards to setting the master quantity to 1 by default, pretty sure this is mentioned somewhere on the 30 pages (read it through about 3 times now !)...sorry cannot remember where exactly....
  8. clayts

    Master Products - MS2

    Glad to have helped :) I agree - great community here.
  9. clayts

    Master Products - MS2

    Sorry - meant to add what I did - got waylaid there... In your catalog/products_info.php page after this line (around about line 180 on an unmodified version, approx line 169 with the master products amendments in it) - don't forget to keep back ups of any original PHP files you are changing, so you can reinstate them if things go wonky ! : <tr> <td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> remove this next bit of code : <?php if ($product_info['products_price']>0) { $qty_array = array(); for ($i=0; $n2 = (($product_info['products_quantity'] < 20) ? $product_info['products_quantity'] : 20), $i <= $n2; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); } ?> <tr> <td align="right" class="main"><?php if ($product_info['products_quantity'] > 0) { echo TEXT_QUANTITY . ' ' . tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array); } elseif ((STOCK_CHECK == 'false')&& ($product_info['products_quantity'] < 1)) { $qty_array = array(); for ($i=0; $ns = 20, $i <= $ns; $i++) { $qty_array[] = array('id' => $i, 'text' => $i); } echo TEXT_QUANTITY . ' ' . tep_draw_pull_down_menu('Qty_ProdId_' . $product_info['products_id'], $qty_array); } else { echo TEXT_STOCK; } echo tep_draw_separator('pixel_trans.gif', '30', '10'); ?> </td> </tr> <?php } ?> and replace it with <?php $master_query2 = tep_db_query("select products_id from " . TABLE_PRODUCTS . " where products_master = '" . (int)$HTTP_GET_VARS['products_id'] . " '"); $results2 = tep_db_fetch_array($master_query2); if ($results2['products_id'] == null) { ?> <tr> <td align="right" class="main"> <?php echo '<form name="buy_now_" method="post" action="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=add_slave', 'NONSSL') . '">'; } ?> </td> </tr> This has a dual affect of allowing you to put a price on a master without it being added to the basket (the checkout takes its total from adding up the quantities of slaves the customer selects) and removing the quantity boxes that appear on non-master standalone products - see it in action here. If you get stuck, post up your full product_info.php page, and I'll have a dig around for you, although don't profess to be an expert at all...hence the reason my osPlayer is still missing in action :(
  10. clayts

    Master Products - MS2

    Exactly what I just achieved - see post 1181 above :)
  11. clayts

    Master Products - MS2

    Excellent - got the second thing fixed - thanks to Richard for his help :) That just leaves the osPlayer to sort out now - it needs to be able to recognise Master Products, and doesn't as yet....
  12. clayts

    Master Products - MS2

    Nice one - you are a star - thanks, matey. That's fixed one of them anyway :)
  13. clayts

    Master Products - MS2

    Couple of issues please. Firstly when clicking on a the little scrolly thing to the left of the product name in admin/categories I get this : 1064 - You have an error in your SQL syntax near ' p.products_master from products p, products_description pd where p.products_id' at line 1 select p.products_id, pd.language_id, pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_quantity, p.products_model, p.products_image, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.manufacturers_id from, p.products_master from products p, products_description pd where p.products_id = pd.products_id and p.products_id = '79' [TEP STOP] Any ideas how to fix this ? Secondly, there was a lot of talk last year between Matti, Richard and Ryan about being able to remove the quantity box (see posts 751 , 752, 764 and 768. Matti's fix in 752 works fine. What I am having bother with is adding in Ryan's code in post 764 - exactly where am I supposed to put this in the products_info.php file - I really couldn't work it out, I'm afraid (bit of a php virgin, I'm afraid). Essentially what I want is for the master product price to show up throughout the site, but for it not to possible to add it to the cart, or for a quantity box to appear. Whilst the crude fix of sticking the price in the product description works to a limited extent (eg the text in red here) it looks as if I'm giving away stuff in this page (eg second entry down) when clearly I'm not. Any help would be great - if I can get that bit sorted, I should then be able to get osPlayer working on Master Products pages - at present I cannot as they have no value :( Thanks people :)
  14. Try the second download down - the top one is just a note about some missing info that needs to be added
  15. clayts

    Master Products - MS2

    Steve - could I ask who hosts your site please (and a URL to your site would be good too) - I've just been booted off mine for excess bandwidth/CPU usage :lol:
×