Is there a way to remove the Price from a Subscription Form

  • Stephen Hawkins
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 months 1 week ago #159843 by Stephen Hawkins
Hi, Im using the subscription form in Membership Pro and was wanting to remove the Price label and the field. I cant seem to find the code to do that.

See image below.
[img


Many Thanks
 

Please Log in or Create an account to join the conversation.

  • Stephen Hawkins
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 months 1 week ago #159844 by Stephen Hawkins
Also, which file is producing this form? Thanks

Please Log in or Create an account to join the conversation.

More
9 months 1 week ago #159856 by Tuan Pham Ngoc
Hello

The main file which is used to procedure this form is components/com_osmembership/view/register/tmpl/default.php . For the price info which you marked in the screenshot, it is components/com_osmembership/view/register/tmpl/default_payment_information.php

Regards,

Tuan
The following user(s) said Thank You: Stephen Hawkins

Please Log in or Create an account to join the conversation.

  • Stephen Hawkins
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 months 2 weeks ago #161964 by Stephen Hawkins
Hi, I just updated and you completely changed the above file. So I cant remove the price container any more. Where do I do that again. Thanks.

Please Log in or Create an account to join the conversation.

More
6 months 2 weeks ago #161965 by Tuan Pham Ngoc
Hmm

You can make change to that file. Once the modification is done, you should move the change to template override templates/template_name/html/com_osmembership/register folder and it won't be lost when you update the extension

Regards,

Tuan

Please Log in or Create an account to join the conversation.