How to output my customer elements and create a input field(like the Quantity field) in here:
Отправлено 30 April 2014 - 06:28
How to output my customer elements and create a input field(like the Quantity field) in here:
Отправлено 01 May 2014 - 07:32
Hello,
Please, look the template of cart's items
media\zoo\applications\jbuniversal\templates\catalog\renderer\basket\_default.php
What kind of fields you would like to insert in the form?
Best regards, Denis.
— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.
Отправлено 01 May 2014 - 11:44
What kind of fields you would like to insert in the form?
Hi Denis
thanks for your reply.
i would like to inset 2 fileds
1,customized text field
2,like the Quantity field can be input.
Отправлено 02 May 2014 - 08:45
Hi
If you add this fields to cart, they won't save because our cart doesn't support this feature.
Of course if you know PHP, I can tell you how to change a code.
i would like to inset 2 fileds 1,customized text field
I think, the best is using params in JPrice Advance -
http://jbzoo.com/doc...o-price-advance
http://jbzoo.com/doc...-advance-config
— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.
Отправлено 02 May 2014 - 15:49
Hello Denis
thanks for your reply.
sorry,i do not know PHP, i had tried to do that before,sometimes it is successful,sometimes it is failed.
maybe you can tell me how to change a code,but need details for that.
the best is teach me step by step.
thanks!
Отправлено 03 May 2014 - 13:45
Hi david052010,
Sorry, I cann't teach you, because this is support forum and we can help you only with our application and our features.
Work plan
- Add fields in the basket template (media\zoo\applications\jbuniversal\templates\catalog\renderer\basket\_default.php)
- You can save all changes with ajax request (example how have been done in ajaxSaveData). media\zoo\applications\jbuniversal\elements\jbbasketitems\jbbasketitems.php
- and you nedd change bindData function, for saing form after submit
- after that, you will need change template media\zoo\applications\jbuniversal\elements\jbbasketitems\tmpl\jbbasketitems.php (it show all data in control panel)
— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.