Products and categories linked by a price

Author Message

Jean-Luc Nguyen

Tuesday 05 June 2007 10:17:59 am

Hello there,

I need some help please: I have created a product class and a category class. A product can be associated with several categories with a "relation objects" attribute. I need to put on a product a price by category.

I think the best way is to "hack" eZ by using the "order" on the category list, but is there a better way to do that?

To summarize, how can we do an association table in the admin panel?

Thanks a lot!

http://www.acidre.com

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

Main resources:

Total runtime0.0150 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0469152.6406
Module start 'layout' 0.00510.0028 740.687539.4766
Module start 'content' 0.00780.0049 780.164185.2734
Module end 'content' 0.01280.0022 865.437530.3047
Script end 0.0149  895.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.9077140.0002
Check MTime0.00117.0455140.0001
Mysql Total
Database connection0.00064.300510.0006
Mysqli_queries0.002315.399830.0008
Looping result0.00000.093910.0000
Template Total0.001812.110.0018
Template load0.00096.029710.0009
Template processing0.00096.058310.0009
Override
Cache load0.00064.321210.0006
General
dbfile0.00031.724480.0000
String conversion0.00000.047840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs