[TYPO3-commerce] My Checkout is gone
Jeppe Donslund
jd at webmasters.dk
Thu Nov 29 09:53:41 CET 2007
I am really sure that I have checked my paths. The path for
checkout.tmpl is the right one.
But other way, I think my TS is quite confusing.
This is my Constants:
plugin.tx_commerce_pi1.templateFile =
fileadmin/templates/commerce/product.tmpl
plugin.tx_commerce_pi2.templateFile =
fileadmin/templates/commerce/basket.tmpl
plugin.tx_commerce_pi3.AdminMailTemplateFile =
fileadmin/templates/commerce/checkout_adminmail.tmpl
plugin.tx_commerce_pi3.templateFile =
fileadmin/templates/commerce/checkout.tmpl
plugin.tx_commerce_pi3.UserMailTemplateFile =
fileadmin/templates/commerce/checkout_usermail.tmpl
plugin.tx_commerce_pi4.templateFile =
fileadmin/templates/commerce/addresses.tmpl
plugin.tx_commerce_pi6.templateFile =
fileadmin/templates/commerce/invoice.tmpl
plugin.tx_commerce_lib.addressPid = 293
plugin.tx_commerce_lib.userPid = 292
plugin.tx_commerce_lib.editAddressPid = 294
plugin.tx_commerce_lib.basketPid = 298
plugin.tx_commerce_lib.overridePid = 300
plugin.tx_commerce_lib.checkoutPid = 296
plugin.tx_commerce_lib.invoicePageId = 295
plugin.tx_commerce_lib.invoicePid = 295
plugin.tx_commerce_lib.emptyBasketPid = 299
plugin.tx_commerce_lib.emptyCheckoutPid = 297
plugin.tx_commerce_lib.paymentArticleId = 2
plugin.tx_commerce_lib.payProdId = 1
plugin.tx_commerce_lib.delProdId = 2
plugin.tx_commerce_lib.catUid = 15
plugin.tx_commerce_lib.userGroup = 3
plugin.tx_commerce_lib.currency = DKK
plugin.tx_commerce_lib.regularArticleTypes = 1
plugin.tx_commerce_lib.defEmailSendername = Jeppe Donslund
plugin.tx_commerce_lib.defEmailAdress = jd at webmasters.dk
plugin.tx_commerce_pi1.attributeLinebreakChars =
plugin.tx_commerce_lib.useRootlineInformationToUrl = 1
And my Setup:
# Shopmenu (Grundeinstellungen)
lib.catmenu = HMENU
lib.catmenu {
special = userfunction
special.userFunc = user_tx_commerce_catmenu_pub->init
special {
category = {$plugin.tx_commerce_lib.catUid}
showProducts = 1
overridePid = {$plugin.tx_commerce_lib.overridePid}
}
1 = TMENU
1 {
wrap = <ul class="mainmenu">|</ul>
itemArrayProcFunc = user_tx_commerce_catmenu_pub->clear
expAll = 1
noBlur = 1
NO.wrapItemAndSub = <li>|</li>
ACT = 1
ACT.wrapItemAndSub = <li>|</li>
}
2 < .1
3 < .1
}
# Menü
lib.mainmenu = HMENU
lib.mainmenu {
special = directory
special.value = 23
#entryLevel = 1
wrap = <h1>choose your option</h1>|
1 = TMENU
1 {
wrap = <ul class="mainmenu">|</ul>
noBlur = 1
NO.ATagTitle.field = subtitle // title
NO.allWrap = <li>|</li>
NO.ATagParams = class="no"
NO.stdWrap.htmlSpecialChars = 1
ACT = 1
ACT.wrapItemAndSub = <li>|</li>
ACT.ATagTitle.field = subtitle // title
ACT.ATagParams = class="act"
ACT.stdWrap.htmlSpecialChars = 1
}
2 < .1
3 < .1
}
# Ab PID 26 (Onlineshop) zusätzlich Shopmenü einfügen
[PIDinRootline = 291]
lib.mainmenu.1 {
ACT {
after.cObject = HMENU
after.cObject < temp.catmenu
}
}
[END]
#My Typoscript
plugin.tx_commerce_pi3.adminmail.showCurrency = 1
plugin.tx_commerce_pi3.usermail.showCurrency = 1
plugin.tx_commerce_pi3.currency = DKK
plugin.tx_commerce_pi1.minRecords = 1
plugin.tx_commerce_pi1.maxRecords = 10
plugin.tx_commerce_lib.invoicePageId = 295
plugin.tx_commerce_lib.invoicePid = 295
plugin.tx_commerce_pi1.singleView.products.fields.images.file.maxW = 400
plugin.tx_commerce_pi3 {
## sets Usermail Charset and Encoding
usermail {
##charset = utf-8
showCurrency = 0
charset = iso-8859-1
encoding = 8bit
from = jd at webmasters.dk
## Do not user non Asci-Chars here, as not supported by MAIL
from_name = Jeppe Donslund
templateFile = {$plugin.tx_commerce_pi3.UserMailTemplateFile}
}
## sets AdminMail Charset and Encoding
adminmail {
showCurrency = 0
charset = utf-8
encoding = 8bit
## Only used, when no userMial is given thou the checkout
from = jd at webmasters.dk
from_name = Jeppe Donslund
mailto = jd at webmasters.dk
templateFile = {$plugin.tx_commerce_pi3.AdminMailTemplateFile}
}
}
plugin.tx_commerce_pi3.checkStock = 0
plugin.tx_commerce_pi4.templateFile =
fileadmin/templates/commerce/addresses.tmpl
plugin.tx_commerce_pi3.currency = DKK
plugin.tx_commerce_pi3.currencyId = 42
plugin.tx_commerce_pi3.priceFromNet = 1
plugin.tx_commerce_pi3.userGroup = 4
plugin.tx_commerce_pi2.checkStock = 0
plugin.tx_commerce_pi1._LOCAL_LANG.dk.pi_list_browseresults_first = Første
plugin.tx_commerce_pi1._LOCAL_LANG.dk.pi_list_browseresults_prev = forrige
plugin.tx_commerce_pi1._LOCAL_LANG.dk.pi_list_browseresults_page = Side
plugin.tx_commerce_pi1._LOCAL_LANG.dk.pi_list_browseresults_next = Næste
plugin.tx_commerce_pi1._LOCAL_LANG.dk.pi_list_browseresults_last = Sidste
plugin.tx_commerce_pi2.nextbutton.stdWrap.wrap = |
plugin.tx_commerce_pi1.showPageBrowser = 0
plugin.tx_commerce_pi1.allArticles = 0
plugin.tx_commerce_pi1.catUid = 15
Franz Koch skrev:
> Hi,
>> What could be wrong?
> have you checked your TS? Maybe the path to your template is wrong.
>
> --
> Greetings,
> Franz
More information about the TYPO3-project-commerce
mailing list