Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Buy With 1 Click Rate Topic   - - - - -

 
  • victorb
  • Senior Member
  • Members
  • Join Date: 29-Oct 12
  • 170 posts

Posted 05 February 2019 - 10:02 PM #1

Hello,

 

How can I add address and made mandatory all fields: phone, email and address ?

Maybe you know one addon to do this

 

Thank you

 

https://prnt.sc/mh50j6 



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 577 posts

Posted 05 February 2019 - 11:43 PM #2

Hello Victorb

 

You can use hook "call_requests:call_requests_form" in file /themes/responsive/templates/addons/call_requests/views/call_requests/component/call_requests_content.tpl

to extend this form

and other hooks in file /app/addons/call_requests/func.php to save additional information.

 

Best regards

Robert.


Team of SoftSolid
cs-cart.pl

 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3229 posts

Posted 06 February 2019 - 08:02 AM #3

It would be perfect if someone would develop addon to capture and save address. Also if multiple request could be joined in to one order.



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 577 posts

Posted 06 February 2019 - 10:43 AM #4

Hello.

 

If you are interested, we can make such an addon. Configurable and flexible.

 

Best regards

Robert.


Team of SoftSolid
cs-cart.pl

 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3229 posts

Posted 06 February 2019 - 11:30 AM #5

I had ordered so many custom addons in past so I do not order them any more, too complicate to maintain them for constantly changing cs cart..

 

If such were to buy now I would gladly take it with possibility to update it.

 

cs-cart likes to mention that its MV is similar to ebay marketplace, while ebays most important feature is make offer and nobody incorporates it in to cs-cart..

 

There should be a modern way to negotiate price with customer particularly in economy as is now..



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 577 posts

Posted 06 February 2019 - 12:54 PM #6

Hello.

 

This addon will not require changes in the core (after the initial assessment, we think so). I think it will work without problems in the next versions unless the hooks are removed or the addon structure changes.

 

Best regards

Robert.


Team of SoftSolid
cs-cart.pl

 
  • victorb
  • Senior Member
  • Members
  • Join Date: 29-Oct 12
  • 170 posts

Posted 07 February 2019 - 06:57 AM #7

Hello Victorb

 

You can use hook "call_requests:call_requests_form" in file /themes/responsive/templates/addons/call_requests/views/call_requests/component/call_requests_content.tpl

to extend this form

and other hooks in file /app/addons/call_requests/func.php to save additional information.

 

Best regards

Robert.

Thank you Robert!

Can you please indicate what to add  or modify on   /app/addons/call_requests/func.php   to add profile fields like address for exp

 

Regards,

Victor



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18798 posts

Posted 07 February 2019 - 07:44 AM #8

If you mean call request with order creation, please check the $cart['user_data'] parameter in the fn_call_requests_placing_order function


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 577 posts

Posted 07 February 2019 - 08:38 AM #9

Hello Victor

 

eComLabs is right. There are no hooks in this function, but you can do changes directly in the code or hook up with the functions fn_add_product_to_cart or fn_add_product_to_cart

 

Best regards

Robert.


Team of SoftSolid
cs-cart.pl