VirtueMart 2 > Product creation

Attributes/Custom Fields Thread

<< < (60/72) > >>

ccvid:
Maybe this is where I need to ask this question:  I'm working on a cart for a ministry.  We'd like customers to be able to add a donation when they place their product in the cart.  In other words, a little text field where they type in the amount they want to donate.  Then that amount is added into the cart as a donation.  How would I do this?

rvbgnu:

--- Quote from: OpenGlobal on June 20, 2012, 06:30:04 AM ---That one's on my list so should hopefully make it into 2.0.8 in one way or another.

OpenGlobal

--- End quote ---
Hi OpenGlobal,
I have been confused with stock control and without stock control cart variant. And now with child product, it looks not good to me with all my 150 products with custom fields and language constant that are not displayed...
I just want to display, in two different languages, the product options on the product detail page, with choice of size and colour (for clothes).

Any update, please?

OpenGlobal:
I believe the translations are now fixed in 2.0.8. If you want stock control, use stockable cart variant, if you don't want stock control, just use a customfield with cart variant.

OpenGlobal

accessvirus:
I have a product of a wooden board with all different sizes and different prices. All prices need to be including 19% VAT. What I did was adding a "shopping cart variable" at "custom fields" and put in a line at "standard" inputbox and "in list?" and "add to shopping cart" ticked.

at "standard" I put in:
1,9x20x40;2,9x20x40;3,9x20x40;4,9x20x40; (etc etc... untill I unfortunatly cannot exceed the 255 chars. Or I am doing something not intended here, I suppose. Or the line needs to become a textbox) Anyway... for this part it works functionally except for getting stocked, but happily I don't need that with this customer, else I was screwed... ) Now... I made a VAT amount of 19% as mentioned earlier. This amount is calculated correctly on the prices except for discounts for "shopping cart variable".

When I put in for:
1,9x20x40 -> 1.10 (1.10 euro added ON the default product price.)
2,9x20x40 -> 1.20 (1.20 euro added ON the default product price.)
3,9x20x40 -> 1.30 (1.30 euro added ON the default product price.)
4,9x20x40 -> 1.40 (1.40 euro added ON the default product price.)

the price in those above here needs to be put in EX VAT. So if I put in 1 there, the frontend tells me 1.19 (oke, not the biggest deal, but it whould be handy if I could put in the amount INCL. VAT also optionally like in the article page itself is possible)

Untill here I don't meet much problems..... but then shit happens :)

When I make a discount for the product, for instance lets say 2 euro. I want to be able to choose on which of these wooden boards the fixed discount applies to. (with a check marker?) It now seems that all other dropdown menu items have an increased discount amount?!. So my 2 euro discount for default product becomes 2.20 for the second instance. Oke... what I did was, assuming the above shopping cart variable method isn't suited for this matter. I choose another custom field to test.... "plugin". I noticed 3 options with childs etc... But then I can't seem to manage, reading all obove posts, to exclude the child items. I don't need child items. I just need a container with variable products. Preferably with no root price and discounts on choosen variable products.

For now I met 2 problems:

1. with shopping cart variable the amount of input at standard is 255.
2. with shopping cart variable the discount is miscalculated for all other "shopping cart variable" products.
3. with shopping cart variable the amount put in at the product its custom field is ex VAT only. (even hikashop has this option to choose between inc, exc)
4. maybe the most important when choosing a discount is that the price amount stays the same, also with a larger size of wooden board :) (can;t be good :))

note: (instead of using the custom fields I tried sub products, but those are buggy and doesn't show up in the website at some child level below the product or in the categorie, it doesn't show me a price in the overview but does in the details and is also to complex for every different size being put in for each different type of wood)

rvbgnu:

--- Quote from: OpenGlobal on July 12, 2012, 10:17:59 AM ---I believe the translations are now fixed in 2.0.8. If you want stock control, use stockable cart variant, if you don't want stock control, just use a customfield with cart variant.

OpenGlobal

--- End quote ---

Hi OpenGlobal,
I am using custom fields with cart variant. I tracked down into JHtml select.genericlist with XDebug, and found a weird issue:
- the same custom field WITHOUT cart variant is well translated (but of course no displayed in a dropdown list)
- with cart variant enabled, no translation: the JText method is called and entered just before the building of <option> tags as it should be, BUT the value string is not returned translated... I have tried to put the language constant value in all the main .ini files, to check a wrong file loading of the language override, but to no avail.

Getting a bit crazy, so my workaround will be to use the DropBox plugin
http://forum.virtuemart.net/index.php?topic=99678.msg350054#msg350054

I have still an issue with cart variant, but at least I've got a nice formatted dropdown list for my options (choice of colour and size for clothes).

And I feel that the custom fields implementation for multi lingual may change again, so I cannot afford to update all the products again...

Any hint on the JHtml select.genericlist / JText issue?


PS: not use to report/contribute with the VM team, where should I post this issue to help find a solution?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version