Перейти к содержимому


Фотография
- - - - -

How to output other elements and create a input field?


  • Закрытая тема Тема закрыта
Сообщений в теме: 5

#1 david052010

david052010

Отправлено 30 April 2014 - 06:28

How to output my customer elements and create a input field(like the Quantity field) in here:

 

3tb_140430132722yseq512293.jpg


  • 0

#2 SmetDenis

SmetDenis

Отправлено 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.


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#3 david052010

david052010

Отправлено 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

2000.jpg

2,like the Quantity field can be input.

2000.jpg


  • 0

#4 SmetDenis

SmetDenis

Отправлено 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


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.


#5 david052010

david052010

Отправлено 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!


  • 0

#6 SmetDenis

SmetDenis

Отправлено 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)


  • 0
JBZoo v4.0 и новый чудный мир Open Source GPL
Отключайте проверку лицензий как можно скорее!



— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.





Click to return to top of page in style!