Product Price Matrix

Author Message

Amit Yadav

Tuesday 13 September 2005 10:31:36 pm

Hey guys i am new to EZ Publish CMS, so i want help from u peoples.

What i want to achieve is i have got about 20 products on my site, and more will be added to the site in future.

I want to establish a product price matrix for each product based on the number of items purchased.

For example.
..if a user purchased 20 units of A then he should be charged $20.

.. if a user purchased 34 units of A then he should be charged $30.. and so on

Hope you guys got what i want to say, so please help me i am waiting for replies...

Amit Yadav

Wednesday 14 September 2005 3:39:18 am

I there no one even from EZ Publish who can help. I am getting frustated. HELP

Mikhail Chekanov

Wednesday 14 September 2005 4:25:18 am

Amit,

drop me a letter to chekanov...gmail.com
I'll send you extension and diffs for the shop module.

I've created a datatype based on multioption, which allows to assign options with 'matrix' price.

But it has too dirty interface for now...

--
mike
#6595551

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 18 2025 21:09:26
Script start
Timing: Jan 18 2025 21:09:26
Module start 'layout'
Timing: Jan 18 2025 21:09:26
Module start 'content'
Timing: Jan 18 2025 21:09:28
Module end 'content'
Timing: Jan 18 2025 21:09:28
Script end

Main resources:

Total runtime1.0557 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.8125152.6094
Module start 'layout' 0.00600.0030 740.421939.4141
Module start 'content' 0.00901.0446 779.8359495.6016
Module end 'content' 1.05370.0019 1,275.43758.1875
Script end 1.0556  1,283.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3403160.0002
Check MTime0.00140.1302160.0001
Mysql Total
Database connection0.00150.138110.0015
Mysqli_queries1.005695.2607570.0176
Looping result0.00070.0670550.0000
Template Total1.011795.820.5059
Template load0.00250.241020.0013
Template processing1.009195.593220.5046
Template load and register function0.00030.024910.0003
states
state_id_array0.00180.168010.0018
state_identifier_array0.00160.150720.0008
Override
Cache load0.00210.1952180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.069820.0004
Fetch class attribute name0.00150.141630.0005
XML
Image XML parsing0.00030.026220.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00200.1875100.0002
String conversion0.00000.000940.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs