Jump to content

baj3171

Members
  • Content count

    49
  • Joined

  • Last visited

1 Follower

Profile Information

  1. baj3171

    non UK customers are charged UK TAX??

    This looks wrong. I assume your client is UK based? Customers in UK/N. Ireland and EU member states have to be charged UK VAT rates (currently 17.5%) unless they can give you a valid VAT number. Not sure where you stand with the rest. As Salvo said, contact the Inland Revenue. Brian.
  2. baj3171

    Master Products - MS2

    Currently yes. phobos It looks like you have 1.1.5 installed, but haven't added the slave attributes mods over it. Get the lastest download. This contains instructions on how to do this. Brian.
  3. baj3171

    Master Products - MS2

    That isn't the code I posted to the contrib page, where did you get it from?
  4. baj3171

    Master Products - MS2

    Largely depends on what criteria you want them sorted on. Intergrating the attributes sorter is fairly easy on the shop front with or without master prods. I seem to remember the admin hacks were a bit more tricky. Assuming you're going to use a separate sort field (as suggested above) you will need some kind of interface to populate it. This is the hardest bit. Then simply add " ORDER BY (name of sort field)" to the options select statements in product_info and master_listing. The attributes sorter contrib will do this for you, with some extra config settings. Brian.
  5. baj3171

    Master Products - MS2

    As an example. Assuming you display the slave's name, change this: case 'MASTER_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['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $lc_text = ' ' . $listing['products_name'] . '</a> '; } break; to this: case 'MASTER_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['products_id']) . '">' . $listing['products_name'] . '</a>'; } else { $lc_text = ' ' . $listing['products_name'] . '</a> '; } $lc_text .= tep_draw_hidden_field('Qty_ProdId_' . $listing['products_id'], "1"); break;
  6. baj3171

    Master Products - MS2

    Just set the "buy now" column sort order to 0 in admin. But if you're doing this you will have to include a hidden field for each slave in master_listing.php with a name of "'Qty_ProdId_' . $listing['products_id']" and value of "1". Otherwise nothing will get added to your shopping cart. Brian.
  7. baj3171

    Master Products - MS2

    Thanks Donovan and j0ker for spotting this. Corrected version added to contrib page. Brian.
  8. baj3171

    Master Products - MS2

    Good! I've uploaded the revised instructions to the contrib page. Brian.
  9. baj3171

    Master Products - MS2

    I overlooked the link. You're right you don't need it. in master_listing.php change ? ?if (($column_list[$col] != 'MASTER_LIST_BUY_NOW') && ($column_list[$col] != 'MASTER_LIST_IMAGE' && ($column_list[$col] != 'MASTER_LIST_MULTIPLE' && ($column_list[$col] != 'MASTER_LIST_DESCRIPTION'))) ) { to ? ?if (($column_list[$col] != 'MASTER_LIST_BUY_NOW') && ($column_list[$col] != 'MASTER_LIST_IMAGE') && ($column_list[$col] != 'MASTER_LIST_MULTIPLE') && ($column_list[$col] != 'MASTER_LIST_DESCRIPTION') && ($column_list[$col] != 'MASTER_LIST_OPTIONS')) { Brian.
  10. baj3171

    Master Products - MS2

    Don't comment out the whole line. Just remove references to popt.products_options_sort_order, so it now becomes: $products_options_name = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . $listing['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . $languages_id . "'");
  11. baj3171

    Master Products - MS2

    Ah. Thought I removed that. Just take out any reference to that field in catalog/includes/modules/master_listing.php (and the order by clause).
  12. baj3171

    Master Products - MS2

    My appologies. I believe the problem is down to my inablity to type :P Step 7 should be: INSERT INTO configuration VALUES ('', 'Display Slave Product Options', 'MASTER_LIST_OPTIONS', '2', 'Set to 0 to disable, set to 8 to enable.', 16, 12, now(), '0000-00-00 00:00:00', NULL, NULL); not: INSERT INTO configuration VALUES ('', 'Display Slave Product Options', 'MASTER_LIST_OPTION', '2', 'Set to 0 to disable, set to 8 to enable.', 16, 12, now(), '0000-00-00 00:00:00', NULL, NULL); MASTER_LIST_OPTIONS not MASTER_LIST_OPTION Assuming, as I suspect, this is the answer. I'll post a revised solution on the Master Products contrib page. Brian.
  13. baj3171

    Master Products - MS2

    What's the attribute sort order set to in admin? Make sure this is unique. If you still get no joy, I'll need to see your catalog/includes/modules/master_listing.php and master_products.php. Brian.
  14. baj3171

    Master Products - MS2

    What isn't working? Are your slaves getting listed but no attributes? Or aren't you getting any slaves either? Maybe a URL? Ok whodah. I'll correct these when I find out why its not working for you guys. Brian.
  15. baj3171

    Master Products - MS2

    Didn't take as long as I thought. I've submitted the attribute mods as a contrib. Let me know if there are any problems. Regards, Brian.
×