[TYPO3-shop] Empty Basket with Version 2.5.2

Tobias Vollmer lamgwin at gmx.de
Thu Jul 26 08:36:46 CEST 2007


Hello,

I am trying desperatly to get my tt_products (Version 2.5.2 auf Typo3 4.1.1) goning.

Unfortunatly my basket stays empty. When I change the Startingpoint it sometimes works for 
one order, but after finishing the order and trying it again, I will get an empty basket 
whatever I do. I hope someone can help me (in english or german), as I can not see any 
light at the end of my tunnel.

You can try the shop for yourself: http://gdhv.ath.cx/download-bestellen/bestellen-shop/shop/

Below you can find my template.
At the moment, the Startingpoint of the basket is set to "Kostenlos bestellen", 
"Infomaterial" and "Bücher, Videos" while the recursive level is set to infinite.

Thank you for your help,

Tobias Vollmer


################
### TS-Template:
################

Constants:
plugin.tt_products {
  file.templateFile = fileadmin/gdh/templates/shop_new.html
  file.noImageAvailable =
  wrap1 = <font face="verdana" size="2" color="#333333" class="shop_big"> | </font>
  wrap2 = <font face="verdana" size="1" color="#333333" class="shop_small"> | </font>
  color1 = #cccccc
  color2 = #999999
  color3 = #333333
  clickEnlarge = 0
  clickEnlarge_list = 0
  clickEnlarge_basket = 0
  displayListCatHeader = 0
  displayBasketCatHeader = 0
  limit = 10
  maxW_single = 200
  maxW_list = 100
  maxW_basket = 35
  PIDitemDisplay = 0
  PIDsearch = 0
  #PIDbasket is "Warenkorb"
  PIDbasket = 201
  #PIDstoreRoot is "Kostenlos bestellen"
  PIDstoreRoot = 199
  TAXpercentage = 0
  TAXincluded = 1
  priceDec = 2
  priceDecPoint = .
  priceThousandPoint =
}
[browser = netscape4]
plugin.tt_products.file.templateFile = fileadmin/gdh/templates/shop_new_ns4.tmpl
[global]

plugin.tt_products.nl2brNote = 0
plugin.tt_products.domain = gdhv.ath.cx

Setup:
plugin.tt_products {
  max_note_length = 10000
  creditpoints {
  pricefactor = 0.5
  }
  templateFile = {$plugin.tt_products.file.templateFile}
     limit = {$plugin.tt_products.limit}
  image {
    file.maxW = {$plugin.tt_products.maxW_single}
    imageLinkWrap = {$plugin.tt_products.clickEnlarge}
    imageLinkWrap {
      enable = 1
      bodyTag = <BODY bgColor=black>
      wrap = <A href="javascript:close();"> | </A>
      width = 400m
      height = 400
      JSwindow = 1
      JSwindow.newWindow = 1
      JSwindow.expand = 17,20
    }
  }
  listImage < .image
  listImage.file.maxW = {$plugin.tt_products.maxW_list}
  listImage.imageLinkWrap = {$plugin.tt_products.clickEnlarge_list}
  basketImage < .image
  basketImage.file.maxW = {$plugin.tt_products.maxW_basket}
  basketImage.imageLinkWrap = {$plugin.tt_products.clickEnlarge_basket}
  image.wrap = | <BR>
  noImageAvailable = {$plugin.tt_products.file.noImageAvailable}
  displayListCatHeader = {$plugin.tt_products.displayListCatHeader}
  displayBasketCatHeader = {$plugin.tt_products.displayBasketCatHeader}
  NoSingleViewOnList = 1
  PIDitemDisplay = {$plugin.tt_products.PIDitemDisplay}
  PIDsearch = {$plugin.tt_products.PIDsearch}
  PIDbasket = {$plugin.tt_products.PIDbasket}
  PIDstoreRoot = {$plugin.tt_products.PIDstoreRoot}
  PID_sys_products_orders = 0
  parseFunc < styles.content.parseFunc
  categoryHeader = TEXT
  categoryHeader.current = 1
  TAXpercentage = {$plugin.tt_products.TAXpercentage}
  TAXincluded = {$plugin.tt_products.TAXincluded}
  priceDec = {$plugin.tt_products.priceDec}
  priceDecPoint = {$plugin.tt_products.priceDecPoint}
  priceThousandPoint = {$plugin.tt_products.priceThousandPoint}
  currencySymbol = EUR
  lockLoginUserInfo = 1
  requiredInfoFields = salutation, first_name,last_name,address,zip,city,telephone
  orderBy = inStock, title
  orderNumberPrefix = order_
  orderEmail_from = x at y.z
  orderEmail_fromName = Geschenke der Hoffnung Shop
  orderEmail_htmlmail = 1
  email_notify_default = 1
  statusCodes {
    1 = Order submitted by user
    2 = Order is received and accepted by store
    10 = Shop is awaiting goods from third-party
    11 = Shop is awaiting customer payment
    12 = Shop is awaiting material from customer
    20 = Goods shipped to customer
    30 = Other message from store
    50 = Customer request for cancelling
    51 = Message from customer to shop
    100 = Order shipped and closed
    101 = Order closed
    200 = Order cancelled
  }
  update_code = password
  statusDate_stdWrap.strftime= %e-%m-%y %H:%M
  orderDate_stdWrap.strftime= %e-%m-%y
  wrap1.wrap = {$plugin.tt_products.wrap1}
  wrap2.wrap = {$plugin.tt_products.wrap2}
  color1.wrap = {$plugin.tt_products.color1}
  color2.wrap = {$plugin.tt_products.color2}
  color3.wrap = {$plugin.tt_products.color3}
  createUsers = 0
  generateCSV = 1
  CSVdestination = fileadmin/co/
  CSVinOneLine = 1
# CSVfields = 
tstamp,count,itemnumber,deliverynote,name,address,telephone,fax,email,company,city,zip,country
  AlwaysInStock = 1
  displayBasketColumns=1
}

#no prices in shop. Therefore not used
plugin.tt_products.payment >
plugin.tt_products.payment {
  radio = 1
  10.title = MasterCard
  10.priceTax =
  10.priceNoTax =
  40.title = Money transfer
  40.priceTax =
  40.priceNoTax =
  50.title = Credit in-store
  50.priceTax =
  50.priceNoTax =
}

#shipping is not used in the shop
plugin.tt_products.shipping >
plugin.tt_products.shipping {
  10.title = Ground
  10.image.file =
  10.image.params = align=absmiddle
  10.priceTax = 0
  10.priceNoTax = 0
  20.title = Airmail
  20.image.file =
  10.image.params = align=absmiddle
  20.priceTax = 0
  20.priceNoTax = 0
  40.title = Pick up in store
  40.excludePayment = 10,40
}
plugin.tt_products.CSVfields = tstamp,itemnumber

#End Setup


More information about the TYPO3-project-tt-products mailing list