[TYPO3-shop] redirecting to basket_info
Franz Holzinger
franz at fholzinger.com
Sun Oct 14 14:48:49 CEST 2007
Hello Tomi,
> I used ###FORM_URL_INFO### in basket_template, so the user is redirected
> to PIDinfo page after the basket page.
> But with this setting I get PIDinfo page every time I change Delivery or
> Payment type in pull-down menu.
> Apparently, onChange js in Delivery and Payment pull-downs doesn't reset
> FORM url to BASKET PID.
>
> Is there a way to override this behavior?
This seems to be a bug which should be fixed.
> Franz, I also made a little change to display single product. I need to
> display single item on the same page a product is in. (my products are
> on regular pages). This way the product is always shown on one page,
> wherever it is shown (fronpage, newproducts, ...).
>
> I introduced new TS setting PIDitemDisplay.1.type = productpid and added
> the code in class.tx_ttproducts_page.php, line:294 (I use version 2.5.2)
>
> case 'productpid':
> $rc = intval ($row['pid']);
> break;
>
> Maybe this can be useful to others and you can add this to the code. If
> you will change the code to achieve same functionality, please let me know.
>
This already exists:
PIDitemDisplay {
10.type = pid
}
> There is one more issue with tt_products(2.5.2) and fh_library(0.0.19):
> I tried to implement static_info_tables (2.0.5) but fh_library returns a
> version info "E". I use php 5.2.1, typo3 4.1.2.
Use the latest version from here:
http://jambage.com/index.php?id=170
Use a former version of fh_library.
Or change the code in class.tx_ttproducts_pi1.php
$eInfo = $this->getExtensionInfo(TT_PRODUCTS_EXTkey);
$this->version = $eInfo['version'];
- Franz
More information about the TYPO3-project-tt-products
mailing list