Improved shop discount functionality

Author Message

Paul Forsyth

Tuesday 01 July 2003 6:10:28 am

Ive a little look at how discounts work for shops and i think it needs an overhaul.

The main problems are:

1. Discount groups can only be discounted by a percentage but this isn't always the case.

2. Products to be part of a discount group can only be chosen by class and by section. This means your product list needs to be designed from the start to take advantage of discounts. Better selection here is required.

These current options too easily apply to all products.

Are there plans for 3.2 to improve this?

paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 20:31:29
Script start
Timing: Jan 30 2025 20:31:29
Module start 'layout'
Timing: Jan 30 2025 20:31:29
Module start 'content'
Timing: Jan 30 2025 20:31:30
Module end 'content'
Timing: Jan 30 2025 20:31:30
Script end

Main resources:

Total runtime1.9473 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0628 588.2578151.2266
Module start 'layout' 0.06280.0104 739.4844220.7031
Module start 'content' 0.07321.8604 960.18754,137.7656
Module end 'content' 1.93360.0136 5,097.95317.8438
Script end 1.9472  5,105.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.01720.8855160.0011
Check MTime0.01460.7483160.0009
Mysql Total
Database connection0.02361.214210.0236
Mysqli_queries1.757790.2661460.0382
Looping result0.00050.0251440.0000
Template Total1.723488.520.8617
Template load0.00230.115620.0011
Template processing1.721188.385120.8605
Template load and register function0.00120.063110.0012
states
state_id_array0.01040.534910.0104
state_identifier_array0.00350.179220.0017
Override
Cache load0.00170.0852100.0002
Sytem overhead
Fetch class attribute can translate value0.00230.120610.0023
Fetch class attribute name0.00300.154810.0030
XML
Image XML parsing0.00030.014110.0003
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00080.0408100.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs