Skip to main content

Costume fields

More
14 years 6 months ago #44704 by aa211
Costume fields was created by aa211
Hello Nicolas,


Costume fields ad price 5 days, 13 hours ago #43993
aa211

NOW ONLINE
Posts: 5
Hello,

How to make a costume field to add a 20,30,40% at the total price.
i can't use variants because they have allredy 3 fields in total 200 vars.

Thank's
Report to moderator
QUICK REPLY REPLY QUOTE EDIT
Re: Costume fields ad price 4 days, 11 hours ago #44190
nicolas

OFFLINE
Posts: 17810

That can be done with a quantity price calculation override plugin. We have some documentation on that in the developer documentation here:
www.hikashop.com/en/support/documentatio...tation.html#override

I read what you give me but i don't undestand nothing, can u give me some directions where to write , what to write.

Ty.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #44898 by nicolas
Replied by nicolas on topic Re: Costume fields
You will have to create a joomla system plugin which implement the price calculation override functions as explained in the documentation.
We have posted an example of such plugin here:
www.hikashop.com/forum/4-how-to/37028-se...t.html?lang=en#37179

So you can base yourself on it in order to develop yours.
The following user(s) said Thank You: aa211

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #45148 by aa211
Replied by aa211 on topic Re: Costume fields
Hello,
Ty for support but i still have a ask how to make the price change in the front, using ajax.
Like change price with variants or options.

Ty.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #45352 by nicolas
Replied by nicolas on topic Re: Costume fields
It's done with lots of javascript.
You can look at the file "option" of the view "product" via the menu Display->Views if you want to see how we did it for options.

Please Log in or Create an account to join the conversation.

Time to create page: 0.204 seconds
Powered by Kunena Forum