[Development] Products Specifications
#61
Posted 09 July 2009 - 07:16 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#62
Posted 09 July 2009 - 08:37 PM
Here is my first, apart from the SQL import issues, bugreport on version 0.4:
Fixed:
- No sort order given when creating new specification
- Link the subcategories to the specification group
- Prefix not shown on the product info page
- Specification displayed when empty
- Categories with two or more linked specifications, only the first specification is listed
- Active/inactive functionality admin/products_specification
- Is it correct that the comparison row in table, when set, is always displayed. Even in unlinked categories
- Product names are not listed in the product comparison page
- Should Minimum Spec Category be functional? Comparison button is always displayed
1. On admin product preview specifications not correctly displayed:
Spec Box Frame Style set to plain: only the word “Specifications:”
Spec Box Frame Style set to simple: only the word “Specifications:” with a narrow empty box
Spec Box Frame Style set to stock: only the word “Specifications:” in a grey banner and two image not found anchors
On catalog side: no problems found.
2. On catalog comparison page specification list is not right
Only the specification names are given with their suffix below this between (). The actual contents of the specification is not displayed. Nor is the productname (see as well under Not Fixed above).
3. Database error when selecting specifications in the “Filter Products” Box
When selecting a product filter the following error occurred:
1054 - Unknown column 'ps.specification' in 'where clause'
select count(p.products_id) as total from products_description pd, manufacturers m, products_to_categories p2c, products p left join specials s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and p2c.products_id = p.products_id and pd.language_id = '1' and p.manufacturers_id = m.manufacturers_id and (ps.specification = 'on' and ps.specifications_id = '1') and (ps.specification = 'on' and ps.specifications_id = '1') and (ps.specification = 'on' and ps.specifications_id = '1') and (ps.specification = 'on' and ps.specifications_id = '1')
[TEP STOP]
On pull down menus this happens when selecting from the list the first time, with radiobuttons this happened when selecting from the list the second time.
4. Specification prefix and suffix are listed for every selection
I don’t think the prefix and suffix have to be listed for every selection possibility. I would rather have something like the prefix mentioned before the list and the suffix after it. Example:
Specification name:
Prefix
- Show all
- Selection 1
- Selection 2
- Selection 1
Suffix
There is one thing I like to ask: Why is the hierarchy “specification group -> specification -> filter” chosen this way? I understand more specifications can be defined in one group. But why more filters in one specification? Shouldn’t this specification be filtered based on the actual contents of the specification itself in the various products? Instead of a predefined set of filters? I am sure you have thought about this already. Please, could you explain your idea behind this?
As always, I will continue playing around with this while looking forward to some future updates. Thanks so far!
Regards
Jerome
#63
Posted 09 July 2009 - 09:19 PM
Minimum Spec Category: Completely forgot about this one. On the list.
1. Bug. I broke the preview by changing the database and never updated it. I need to make the module match the one on the Catalog side.
2. Bugs. Obviously I need to take a better look at this.
3. Bug, probably many. I decided that Range was the hardest to do, so I tested that. I've since found several more bugs in this area. Much more testing to do.
4. Not sure. Something like memory size should list every filter followed by MB or GB. Prefix might need to be there only once. Let me think about this one.
Filters are the most difficult part of the whole thing. Filters get compared to the data for the products to get a set of matching products. The filter can be applied to the products in many different ways. There can be any number of filters, from 2 to 200. Probably less than that, but however many the store owner wants. So we need to be able to add as many filters as are wanted, in many different formats (filter classes), with many different display options, and then compare to find the matching products.
For example, my test version of this is using the following price filters:
Price
- Show All
- $0.00 - $50.00
- $50.00 - $100.00
- $100.00 - $200.00
- $200.00 - $500.00
- $500.00+
This was hard for me to grasp, and the design went through several iterations before I found a way to make all of these options work. It's not all there yet, but it's getting close. I'm still open to considering a different design, but it had better be really good to force me to scrap all of this and do it again. I'm not that fond of pain.
Anybody who's seriously testing this is going to find bugs. I deliberately released it without testing everything. If I waited, I ran the risk of getting distracted (Ooh, shiny!) and never finishing. This has happened before. Maybe when I get this one working, I'll go dust off the remains of the Shopping List and finish it. And a couple more that I don't remember all that well. Don't hold your breath.
Regards
Jim
Memo to self: Don't rely on the spell checker to choose the correct word.
Edited by kymation, 09 July 2009 - 09:23 PM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#64
Posted 09 July 2009 - 09:55 PM
Thanks for your explanation, I was thinking the other way around. However, I tried again by adding PEGI ratings to the games in the original osCommerce store and agree with your current design.
Specification group = PEGI
Specification1 = Label
Specification2 = Age
When I add these specifications to the products I would have to choose specfic content, like:
Violation, Discrimination, Drugs or Sex for "Label"
3+, 7+, 12+ or 16+ for "Age".
I understand, this is where you need Filters for.
Then I would choose (multiselectable) checkbox set would apply for "Label" and radiobuttons (or range!) for "Age". I assume this functionality is just a text input field temporarly.
Not having a list with possible content of the specifications here will lead to input errors for sure.
Regards,
Jerome
Edited by JvdP, 09 July 2009 - 09:57 PM.
#65
Posted 09 July 2009 - 11:41 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#66
Posted 10 July 2009 - 07:57 AM
Now in product_info.php this error:
Warning: include_once(includes/modules/products_specifications.php) [function.include-once]: failed to open stream: No such file or directory in /product_info.php on line 125
Warning: include_once() [function.include]: Failed opening 'includes/modules/products_specifications.php' for inclusion (include_path='.:/usr/local/lib/php') in /product_info.php on line 125
Bye
#67
Posted 10 July 2009 - 05:30 PM
rockxiv, on Jul 10 2009, 09:57 AM, said:
Yep, this file is missing again, I didn't notice because I still had it from earlier upload.
#68
Posted 10 July 2009 - 05:37 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#69
Posted 11 July 2009 - 10:59 PM
Filters should now work, although I have seen some strange bugs under some circumstances. Still trying to get a handle on those. If you see a bug when using Filters, please state the Filter Class and Display type for your filters along with a description of the error.
Thanks again to everyone who has helped with testing and identifying bugs. This code wouldn't be nearly as far along without you.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#70
Posted 12 July 2009 - 07:52 AM
#71
Posted 12 July 2009 - 04:28 PM
The second possibility is to have a Specification that can handle multiple data (such as colors.) I hadn't thought of that one. I will add that to the list of data types that we can filter. Good suggestion. If you have any more of those, please post them here.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#72
Posted 12 July 2009 - 06:45 PM
example:
If I setup a product with spec attached called "Black" and search for this on the front the product does not show up. If I add a Manufacturer to the product it does show up on the filters when searching for Black.
Some of my products dont have Manufacturers so I cant get them to show when filtering.
#73
Posted 12 July 2009 - 06:54 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#74
Posted 12 July 2009 - 08:11 PM
This looks very great!
With your bugs.txt it will not be necessary to list all the fixed and not fixed issues. Maybe you could add the displayed information with catalog\comparison.php as well. It is still not giving a list of products with their specifications. I assume only the header is being displayed.
I didn't check the actual filtering yet, but only the functionality of the filtertypes:
Pulldown: default selection is the last entry. This selection cannot be selected, when changing the selection the filter is executed immediately. Maybe an empty row top could fix this.
Radiobuttons: default selection is the last entry. Changing the selection does not execute the filter. It is executed when selecting another radiobutton or another specification.
List of links: filter is not working; list of results shows no products.
Images: filter is not working; list of results shows no products.
Multi image: Error im Admin while saving the specification:
1265 - Data truncated for column 'filter_display' at row 1
update specifications set specification_group_id = '1', specification_sort_order = '0', show_comparison = 'True', show_products = 'True', show_filter = 'True', products_column_name = '', column_justify = 'left', filter_class = 'reverse', filter_show_all = 'True', filter_display = 'multiimage' where specifications_id = '2'
[TEP STOP]
Text box: works great
Will check some filterresults later. Thanks so far!
Jerome
#75
Posted 12 July 2009 - 09:05 PM
JvdP, on Jul 12 2009, 10:11 PM, said:
While filter class set to multiple selecting using checkboxes. Selecting more than one checkbox will only return products of the last selected checkbox.
Edited by JvdP, 12 July 2009 - 09:06 PM.
#76
Posted 12 July 2009 - 09:08 PM
.... default selection is the last entry: This is the case with all display modes. The Select functionality that determines which item is shown as selected isn't working. This is actually on the Bugs list (Item #1). Maybe the explanation there isn't very good. Still needs to be fixed for all display modes.
List of Links is working here, except for the problem with selection. I need more information to figure this one out. What filter class are you using?
Images: The filter value needs to be the name of an existing image in catalog/images. I'm going to add an image upload function to the Admin when I fix the rest of the filter-related issues there. For now, you'll need to add the images manually.
Multi image Error in Admin: This is a SQL bug. Added to the list.
Checkbox and multi-pulldown: These allow multiple items to be selected, so they will only work correctly with filter classes that allow multiple inputs. They will actually work with other filter classes, but only one value will be used, and that value is not (easily) predictable.
Thanks for testing this. I'm working on fixing bugs and cleaning up the code today. I'll try to get another update ready later today, or possibly tomorrow. We'll see how the work goes.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#77
Posted 12 July 2009 - 09:10 PM
JvdP, on Jul 12 2009, 02:05 PM, said:
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#78
Posted 12 July 2009 - 09:21 PM
kymation, on Jul 12 2009, 11:08 PM, said:
I tried all filter classes, but I think exact match was the most obvious one. All reulst in the message:
There are no products to display. Please remove some of your restrictions and try again.
Jerome
Edited by JvdP, 12 July 2009 - 09:21 PM.
#79
Posted 13 July 2009 - 09:52 AM
It looks like two or more actions are in wrong order in this process.
I noticed it yesterday but thought it was an error on my side, now I think this is a bug.
Regards,
Jerome
Edited by JvdP, 13 July 2009 - 09:52 AM.
#80
Posted 13 July 2009 - 11:42 AM
I installed the 0.4.2 but I have a problem.
When I put in the Admin/Products in the text field of filter a word, this is not inserted in the database. In preview and update this not appear. I have to manually go in the table products_spefication.
Thank you









