Feature #38939
Add more markers to minicart
| Status: | Needs Feedback | Start date: | 2012-07-13 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Daniel Lorenz | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Patch is reviewed: | No | Complexity: | ||
| Branch: | Reporter: | |||
| Votes: | 0 |
Description
The plugin minicart only supports these markers:
###MINICART_COUNT###
###WTCART_LL_COUNT_PRODUCTS_IN_CART###
###MINICART_GROSS###
###MINICART_LINK###
It is not possible to add other markers from the normal shopping cart, e.g. I want to display a short list of articles in the minicart. I have already done this with wt_cart 1.3 and the normal cart with TYPO3 4.5 last year (seperate template and cart in the small right column on every page). But with TYPO3 4.7 and wt_cart 1.4.4 (even with downgrade to 1.3) this does not work anymore. I have no clue why not, is it dependent on the TYPO3 version?
History
Updated by Daniel Lorenz 10 months ago
- Status changed from New to Needs Feedback
- Assignee set to Bernhard Eckl
I have recoded wt_cart pi1-pi3 and have implemented some additional marker. What do you need? I will see, if this make sense in combination with all the new features (variants).
Updated by Bernhard Eckl 10 months ago
- File minicart.png added
I would need the markers for the title of the products, quantity of them and delete button per product. I have enclosed a screenshot of a mini cart (wt_cart 1.3 pi1, but pi1 does not work again on every page) of the project I mentioned from last year, I wanted the same again. But it seems that for this actual project I will switch to tt_products because I also need the feature to have individual shipping costs per product (I created already the backend field per product for the editors) and maximum shipping fee (e.g. article 1 3 euro shipping, article 2 2 euro and article 3 5 euro shipping but maximum 5 euro shipping per order), which wt_cart also doesn’t support. But tt_products does.
Updated by Daniel Lorenz 10 months ago
- Assignee changed from Bernhard Eckl to Daniel Lorenz
OK, I think your problem with wt_cart (pi1 as minicart) is our changes, that the products in cart are stored with the uid of the page where the cart is located, because some people needed different carts in one TYPO3. So the Minicart do not know, which data should be displayed. I will see, finding a proper solution for that. With pi3 (minicart) I think this will not work, because I recode wt_cart and add variants to products. If I display variants of products in minicart too, I think the target of minicart will missed. I can imaging that it will be possible to change pi1 in that way, that you can configure the plugin, which cart should be listed. Than you can configure a special html for that cart/minicart.
wt_cart only supports steped shipping cost. In wt_cart it is not possible having different shipping cost per product by default but you can try using the service attribute. The service attributes can be volume, weight, length and so on and can be configured by TypoScript. In your case it is the shipping fee for the product. The steped shipping costs for calculation of the shipping fee for the order can steped by the sum of this service attribute. If the sum is 1 then configure the shipping cost (extra) to 1.00, and so on. The last step in the TypoScript configuration would be 5 and shipping cost extra will be 5.00. Each sum greater 5 will have a shipping fee of 5.00. Do you need a TS example?
Updated by Bernhard Eckl 10 months ago
Maybe a solution would be to use pi1 and add a storage pid?
I also thought about that shipping solution, but it would not be possible to define a total maxim value of shipping costs for the whole cart.
Updated by Bjoern Jacob 6 months ago
@Daniel: Are there any tasks related to the release of 2.0?