eZp 3.2-3 revision 3893 -> Online shop, how to add another parameter for products ?

Author Message

laurent le cadet

Wednesday 14 April 2004 9:53:13 am

Hello,

I'm working on a shop and I want to add a weight parameter to the products in order to calculate the shipping rate.

Which way the best ?

I add a "weight" textline in the classe "product" but I don't know how to include this parameter in the basket to make it works on weight like it works on price.

Someone to help me ?

Thanks per advance.

Laurent

Amit Yadav

Sunday 18 September 2005 9:49:45 pm

i am want to add weight to my shopping basket as "laurent le cadet" wants, any help is greatly admired.

Please i want some help.

Sander van den Akker

Thursday 21 January 2010 1:23:42 am

Reviving an ancient post ;)

Does anyone have this working yet?

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

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

Main resources:

Total runtime0.0278 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.0068 588.4063152.6875
Module start 'layout' 0.00680.0033 741.093839.5234
Module start 'content' 0.01010.0154 780.617289.3359
Module end 'content' 0.02550.0022 869.953130.3047
Script end 0.0277  900.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.004114.8372140.0003
Check MTime0.00279.7717140.0002
Mysql Total
Database connection0.00103.624710.0010
Mysqli_queries0.003211.603430.0011
Looping result0.00000.126310.0000
Template Total0.00176.110.0017
Template load0.00083.037910.0008
Template processing0.00082.926210.0008
Override
Cache load0.00062.061010.0006
General
dbfile0.003111.264080.0004
String conversion0.00000.038740.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