Some shop problems..

Author Message

Robin Sørlie

Saturday 26 July 2003 3:21:38 am

Hi, have some difficulties regarding the shop.

1. How to have a buy button in line_class. In full_class products the buy button works fine. But I don't get it to work in line_class. When pushing the buy button, the browser jumps to /index.php/content/action/ and stays there with no content. Seems to me that it doesn't fetch the node so it doesn,t know what to put in the basket...

2. Is it possible to have an account page for each registrated user? So the user can see previous orders, recipies, bills, etc...

3. Is it possible to delete orders in orderlist (in admin)? Or maybe better, to move them to for instance a "delivered orders" folder?

Will be very thankful for any help.

-Robin

Bjørn Kaarstein

Monday 28 July 2003 12:38:25 am

I don't have all the answer, but will contribute with something.

1. I'm not sure why your lineview doesn't work, but I have solved this once by writing an embed override for my product class and relating them in an XML-field.

2. Not quite sure, but I think this will have to be maintained manually. If you have some traffic on your shop, It'll be quite a workload.

3. It's not possible to delete the orderlist, or to move the items. It's meant more like a reference...

Regards Bjørn

Robin Sørlie

Monday 28 July 2003 7:58:44 am

thanks for your input.

1. Maybe, shall try...

2. Yes, manually would be a way, but of course a bit of a workload. Is it possible to give logged in user access to the orderlist with read & Self rights? Will the customers then see their previous orders?

3. D*rn :)

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

Main resources:

Total runtime0.8223 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.0041 587.8906152.6094
Module start 'layout' 0.00410.0028 740.500039.4141
Module start 'content' 0.00690.8138 779.9141466.2109
Module end 'content' 0.82070.0016 1,246.12508.1875
Script end 0.8223  1,254.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3755160.0002
Check MTime0.00130.1550160.0001
Mysql Total
Database connection0.00050.065110.0005
Mysqli_queries0.779794.8207570.0137
Looping result0.00050.0585550.0000
Template Total0.796696.920.3983
Template load0.00200.246420.0010
Template processing0.794596.623920.3973
Template load and register function0.00020.018610.0002
states
state_id_array0.00090.115310.0009
state_identifier_array0.00140.164820.0007
Override
Cache load0.00160.2002200.0001
Sytem overhead
Fetch class attribute can translate value0.00080.093320.0004
Fetch class attribute name0.00110.130730.0004
XML
Image XML parsing0.00030.038020.0002
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00060.0789100.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs