AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: maulik 1intl on July 25, 2019, 02:33:08 AM

Title: Subscribe must yes
Post by: maulik 1intl on July 25, 2019, 02:33:08 AM
Nice to use abantecart   :) :) :) :)
 
     i think i get change some file but i can't find out please help in that.I need only Subscribe ratio button yes by default value.
url of website : http://1intl.com/index.php?rt=account/create
    i also see in abantecart demo website by default is yes
https://marketplace.abantecart.com/index.php?rt=account/create 

Thanks
Title: Re: Subscribe must yes
Post by: Basara on July 25, 2019, 04:21:52 AM
Check controller or tpl files
controller: storefront/controller/pages/account/create.php
Template: storefront/view/default/template/pages/account/create.tpl
Title: Re: Subscribe must yes
Post by: Borys Ieremenko on July 26, 2019, 06:42:25 AM
Good point
Title: Re: Subscribe must yes
Post by: maulik 1intl on July 26, 2019, 07:29:56 AM
thanks
i was compere both file but no word change in files like download abantecart original file and compere with my file both file anything else where to change.

controller: storefront/controller/pages/account/create.php
Template: storefront/view/default/template/pages/account/create.tpl
Title: Re: Subscribe must yes
Post by: HADY on July 26, 2019, 09:34:27 AM
Nice to use abantecart   :) :) :) :)
 
     i think i get change some file but i can't find out please help in that.I need only Subscribe ratio button yes by default value.
url of website : http://1intl.com/index.php?rt=account/create
    i also see in abantecart demo website by default is yes
https://marketplace.abantecart.com/index.php?rt=account/create 

Thanks

HI!
If I understood you correctly you just need to modify the next file path: storefront/controller/pages/account/create.php

and remove the second line only.


                    '1' => $this->language->get('text_yes'),
                    '0' => $this->language->get('text_no'),
Title: Re: Subscribe must yes
Post by: maulik 1intl on July 27, 2019, 01:41:13 AM
i need only the radio button is checked only "YES" if some one not need so it was change to unchecked  but by default value checked "YES"  radio button  .

Thanks   :) :)
nice to use abantecart  :) :) :) ;)
Title: Re: Subscribe must yes
Post by: HADY on July 30, 2019, 04:45:55 AM
Hi!

I think i Still not understand your point yet.


provide more info.

Regards
Title: Re: Subscribe must yes
Post by: maulik 1intl on August 02, 2019, 01:37:07 AM
When user register by default selected YES as per our demo website.As above image in my first question at top