Forums / Setup & design / Some shop problems..

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 :)

eZ debug

Timing: Jan 18 2025 16:26:52
Script start
Timing: Jan 18 2025 16:26:52
Module start 'content'
Timing: Jan 18 2025 16:26:52
Module end 'content'
Timing: Jan 18 2025 16:26:52
Script end

Main resources:

Total runtime0.8572 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.8828180.8438
Module start 'content' 0.00640.7147 769.7266471.2734
Module end 'content' 0.72110.1360 1,241.0000333.5000
Script end 0.8571  1,574.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4834210.0002
Check MTime0.00150.1746210.0001
Mysql Total
Database connection0.00110.126310.0011
Mysqli_queries0.794992.73501940.0041
Looping result0.00180.20981920.0000
Template Total0.831197.020.4155
Template load0.00200.228320.0010
Template processing0.829196.729820.4146
Template load and register function0.00020.021210.0002
states
state_id_array0.00080.093510.0008
state_identifier_array0.00090.101120.0004
Override
Cache load0.00170.1931200.0001
Sytem overhead
Fetch class attribute can translate value0.00130.149930.0004
Fetch class attribute name0.00100.113130.0003
XML
Image XML parsing0.00050.063430.0002
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00180.2090210.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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