Jump to content

_Matt

Members
  • Content count

    13
  • Joined

  • Last visited

1 Follower

Profile Information

  1. _Matt

    PROTX Form and 3d-secure

    Sounds entirely fair and I may take you up on it closer to the time, but you are rather relying on those that pay for it not turning round and posting it as a contribution themselves.
  2. _Matt

    Master Products - MS2

    I've noticed a problem in my installation where slave products show the special price even after the special has expired. I don't remember seeing this in the thread so thought I'd post my fix in case anyone else had the same problem. Around line 136 in catalog/includes/modules/master_listing.php I added a check for the specials status flag. Old if (tep_not_null($listing['specials_new_products_price'])) { New if (tep_not_null($listing['specials_new_products_price']) and $listing['status']) { This seems to do the trick. Comments welcome. Matt
  3. _Matt

    Master Products - MS2

    I may be missing the point, but if the slaves are products to be sold in their own right, do they need to be hidden? You can stop them showing up in the master product's category by not including them in that category. They will still display under the master product when it is selected. Matt
  4. _Matt

    Master Products - MS2

    The SQL changes posted by ecartz a couple of pages back in this thread worked for me. The only exception being certain price based searches (also described earlier in the thread), which I can live with.
  5. _Matt

    Master Products - MS2

    Hi Matt, First, thanks for your post. I've made the changes to advanced_search_results.php per your post and it works great for text searches. However it still ignores slaves for price range searches. I haven't added the index, but I can't see that making a difference. My product is a model of kite, which comes in a number of sizes. It is quite reasonable to expect the customer to want up to three different sizes, hence the use of master/slave so they can add them all at once. The master is a virtual container that holds the product description and manufacturer details with the price set to zero to prevent its purchase. The slaves are the available sizes: Master: Naish Boxer (price $0) Slave: 6 Metre $600 Slave: 9 Metre $650 Slave: 12 Metre $700 Slave: 16 Metre $750 Slave: 19 Meter $800 The problem is using the master as a virtual container. For my specific case the ideal would be to ignore the price criteria on the master record when the price is 0 and return it only when a slave matched the criteria. Using your code changes, a search on '12 Metre' returns the master product for Boxer as expected. A search using the advanced search and a 'Price from' value greater than 0 produces no results. A 'Price to' value of greater than 0 always returns the master product. i.e The search criteria appear to be applied only to the master. At this point, given my primitive grasp of SQL, I'm resigned to living with this problem, unless you or anyone else already has a solution. I don't think I can be the only one in this situation though so I hereby put this forward for consideration for a future release of Master Products, 2.1 perhaps? :)
  6. _Matt

    Master Products - MS2

    Good point, I'll try that out. Thanks, Matt
  7. _Matt

    Master Products - MS2

    I've made the change to hide slaves from search results but now have a problem with the advanced search. The problem occurs where I have the master set up as an umbrella product for the slaves. e.g: Master: Product Overview, Manufacturer, Price=0 Slave1: Slave Description, Price=200 Slave2: Slave description, Price=300 ... Everything works fine until you do an advanced search and put in a 'Prices From' value. The slaves aren't found as they've been excluded (I only want the master after all), the master isn't found as its price is 0. I know the idea of the master being returned if the search criteria is met by its slaves has come up before on this thread but I haven't seen a solution posted. Has anyone solved this? Matt
  8. _Matt

    Master Products - MS2

    Unfortunately my slave names are not purely numeric: "ABC 8m" "ABC 12m" So for now it's easier for me to insert data in the desired order than to insert the leading 0 on the fly. Perhaps I should've used the leading zero in the name, that looks kinda ugly though.
  9. _Matt

    Master Products - MS2

    I believe the slaves are sorted alphabetically based on product name, which didn't suit me as my slaves are number sizes. I changed the order by clause around line 78 in /catalog/includes/modules/master_products.php from: $master_sql .= " order by pd.products_name"; to: $master_sql .= " order by p.products_id"; This gives me my slaves listed in the order I originally entered them. Obviously you could use a different field to sort on, but I think this is the area you should be looking at. Matt
  10. _Matt

    Master Products - MS2

    EasyPopulate v2.73 has: $items[$i] = str_replace('\"\"',""",$items[$i]); if ($replace_quotes){ $items[$i] = str_replace('\"',""",$items[$i]); $items[$i] = str_replace("\'","'",$items[$i]); } at lines 1257 and 1269, presumably to address this problem. Haven't tried this yet myself as I'm still in the process of trying to implement master products and easypopulate.
×