Latest News: (loading..)
% off filter box or sort by % discount ?
Started by bruyndoncx, Jul 03 2012 07:26 PM
10 replies to this topic
#1
Posted 03 July 2012 - 07:26 PM
I'm thinking , it cant be it hasn't been done before ...
I'm looking for a contribution that operates like a shop by price infobox, but then based on the % discount.
anyone knows of one ?
I've googled all kinds of different combinations of oscommerce with discount / percentage / specials infobox, what am i missing ?
The reason why I'm asking this, although it wouldn't be too hard to code something simple up, i think it would heart performance quite a bit without proper caching etc, so it might need a bit more elaborate to take caching into account, especially if the filter would be dynamic based on other selected categories or manufacturers etc
I'm looking for a contribution that operates like a shop by price infobox, but then based on the % discount.
anyone knows of one ?
I've googled all kinds of different combinations of oscommerce with discount / percentage / specials infobox, what am i missing ?
The reason why I'm asking this, although it wouldn't be too hard to code something simple up, i think it would heart performance quite a bit without proper caching etc, so it might need a bit more elaborate to take caching into account, especially if the filter would be dynamic based on other selected categories or manufacturers etc
Hava a nice day !
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
#3
Posted 03 July 2012 - 09:23 PM
Not sure I understand this fully .. would you have a shop by price header then a shop by percentage discount header?
Edited by FWR Media, 03 July 2012 - 09:24 PM.
Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
KissMT Dynamic SEO Meta & Canonical Header Tags
KissER Error Handling and Debugging
KissIT Image Thumbnailer
Security Pro - Querystring protection against hackers ( a KISS contribution )
If you found my post useful please click the "Like This" button to the right.
Please only PM me for paid work.
#4 ONLINE
Posted 03 July 2012 - 09:33 PM
Well, I intrigued myself. Filtering on the specials page.
Did this by adding in an extra column in the DB to hold the percent discount amount (2 lines of code in admin/specials.php).
Then a quick and dirty couple of links in specials.php and a switch to grab what the filter is (and change the SQL appropriately).
Might give you ideas?
Did this by adding in an extra column in the DB to hold the percent discount amount (2 lines of code in admin/specials.php).
Then a quick and dirty couple of links in specials.php and a switch to grab what the filter is (and change the SQL appropriately).
Might give you ideas?
#5
Posted 03 July 2012 - 09:39 PM
FWR Media, on 03 July 2012 - 09:23 PM, said:
Not sure I understand this fully .. would you have a shop by price header then a shop by percentage discount header?
Hava a nice day !
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
#6
Posted 03 July 2012 - 09:42 PM
burt, on 03 July 2012 - 09:33 PM, said:
Well, I intrigued myself. Filtering on the specials page.
Did this by adding in an extra column in the DB to hold the percent discount amount (2 lines of code in admin/specials.php).
Then a quick and dirty couple of links in specials.php and a switch to grab what the filter is (and change the SQL appropriately).
Might give you ideas?
Did this by adding in an extra column in the DB to hold the percent discount amount (2 lines of code in admin/specials.php).
Then a quick and dirty couple of links in specials.php and a switch to grab what the filter is (and change the SQL appropriately).
Might give you ideas?
Actually, you show sorting, not filtering.
Backend wise, yes an extra database field would be needed as a first step
Hava a nice day !
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
#7
Posted 03 July 2012 - 09:52 PM
I've just looked at johnlewis.co.uk where I have the impression that the clearance% off grouping is setup as a product specification.
Since I already have product specifications by @kymation installed, if I add the field to the product table, I can just use that to filter as it will allow filtering on any product table field, a field in the specials table would require much more changes.
Since I already have product specifications by @kymation installed, if I add the field to the product table, I can just use that to filter as it will allow filtering on any product table field, a field in the specials table would require much more changes.
Edited by bruyndoncx, 03 July 2012 - 09:54 PM.
Hava a nice day !
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
#10 ONLINE
Posted 04 July 2012 - 02:09 AM
@bruyndoncx
You don't need to add a field to the products table. Just set up a new Specification and filter on that.
Regards
Jim
You don't need to add a field to the products table. Just set up a new Specification and filter on that.
Regards
Jim
My Addons
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
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
#11
Posted 04 July 2012 - 06:19 PM
kymation, on 04 July 2012 - 02:09 AM, said:
@bruyndoncx
You don't need to add a field to the products table. Just set up a new Specification and filter on that.
Regards
Jim
You don't need to add a field to the products table. Just set up a new Specification and filter on that.
Regards
Jim
If I can get triggers going on my database, that would be ideal to maintain a derived field.
Otherwise, I need to amend the logic to update the discount field in a few areas in my admin, adding it to the products (or specials) table overall would be easiest.
I do not want to enter a specification explicitly, it needs to be calculated from the prices, either through a trigger, or a sql script and/or in each page that possibly updates one of the prices.
If I show prices on listings, data is fetched from products and specials tables, having to add specifications would slow things down further, stroughling already now ...
Hava a nice day !
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?
Carine Bruyndoncx
P.S. if you found me helpfull, would you help me and try out my shop on your device (phone, tablet, laptop, desktop, tv)
and let me know how it went in my responsive liive shop review thread ?
PS2
Did you know 99% of all people benefiting from my posts, won't bother to repay the favor.
Wouldn't it be great if you are part of that exclusive 1% ?
Now, head over to www.keukenlust.be and post your findings in my responsive liive shop review thread ?









