Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Subscribe must yes  (Read 3627 times)

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +6/-0
    • View Profile
Subscribe must yes
« 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5798
  • Karma: +274/-2
    • View Profile
Re: Subscribe must yes
« Reply #1 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

Borys Ieremenko

  • Guest
Re: Subscribe must yes
« Reply #2 on: July 26, 2019, 06:42:25 AM »
Good point

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +6/-0
    • View Profile
Re: Subscribe must yes
« Reply #3 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

Offline HADY

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +27/-5
    • View Profile
Re: Subscribe must yes
« Reply #4 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'),
Thank you In Advanced
Regards
HADY

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +6/-0
    • View Profile
Re: Subscribe must yes
« Reply #5 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  :) :) :) ;)

Offline HADY

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: +27/-5
    • View Profile
Re: Subscribe must yes
« Reply #6 on: July 30, 2019, 04:45:55 AM »
Hi!

I think i Still not understand your point yet.


provide more info.

Regards
Thank you In Advanced
Regards
HADY

Offline maulik 1intl

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +6/-0
    • View Profile
Re: Subscribe must yes
« Reply #7 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 

 

Powered by SMFPacks Social Login Mod