How to allow to add only one item of product in to shopping basket

Author Message

Vytautas Germanavičius

Sunday 11 July 2010 4:56:29 am

I'm creating shop for paintings.Each painting is unique.

Ez shop has all functionality i ned, but i do not find way to restrict adding several items of the same painting to the shopping cart...

Any idea?

it looks like i need to create workflow, which checks is painting already in shopping cart or checks quantity of product...

Maybe there is already such extension ?

{set-block scope=root variable=cache_ttl}0{/set-block}

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 21:42:02
Script start
Timing: Jan 30 2025 21:42:02
Module start 'layout'
Timing: Jan 30 2025 21:42:02
Module start 'content'
Timing: Jan 30 2025 21:42:02
Module end 'content'
Timing: Jan 30 2025 21:42:02
Script end

Main resources:

Total runtime0.0418 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 588.3906151.2422
Module start 'layout' 0.00810.0062 739.6328220.7656
Module start 'content' 0.01430.0254 960.3984993.7734
Module end 'content' 0.03970.0021 1,954.171929.9922
Script end 0.0418  1,984.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00368.5203140.0003
Check MTime0.00133.0126140.0001
Mysql Total
Database connection0.00143.341410.0014
Mysqli_queries0.004310.204930.0014
Looping result0.00000.067310.0000
Template Total0.00153.510.0015
Template load0.00122.884910.0012
Template processing0.00030.624110.0003
Override
Cache load0.00092.120110.0009
General
dbfile0.006916.404580.0009
String conversion0.00000.026240.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.0002 secs