Any questions about Documents Sellers, post it here .

Ask for a users age before purchase

  • pg2011
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago #8730 by pg2011
Ask for a users age before purchase was created by pg2011
Hi,

I would like to ask for the "users age" before purchasing items. I sell information products, and the demographics is very important. Right now I have information I dont need, like street address, but I dont find the way to add an "age" field in the form.

Thanks!

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

More
13 years 7 months ago - 13 years 7 months ago #8731 by jumbo
Replied by jumbo on topic Re: Ask for a users age before purchase
if it is just a requirement to be 18 or older add it to the terms of service..

if you are wanting to collect data.. put a form in front of the purchase and ask all the questions you like..


i understand what you are saying you want custom field.. for age..

you might could rename one of the default fields to age.. if thats all you need.. but if you are wanting more info place a custom form infront of the purchase option so they fill the form out then continue the purchase.


cheers

Jumbo
Last edit: 13 years 7 months ago by jumbo.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 7 months ago #8754 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Ask for a users age before purchase
Yes, Jumbo is right. Right now, Documents Seller doesn't support custom fields, so basically, there are two solutions :

1. If you don't use all of the "core fields", for example, you can change title of this field to "Enter your age" for example, and users will be able to enter the age during the purchase .

2. If you need more than that, you will need to customize the extension to meet your need .

Regards,

Tuan

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

  • pg2011
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago - 13 years 7 months ago #8765 by pg2011
Replied by pg2011 on topic Re: Ask for a users age before purchase
Jumbo / Admin; thank you very much for your answers.

I think replacing one of the "core fileds" would be the perfect solution for me.

I am new to Joomla and Web design. Could you please tell me how to replace a core filed in DMS? I would appreciate it a lot!
Last edit: 13 years 7 months ago by pg2011.

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

More
13 years 7 months ago - 13 years 7 months ago #8766 by jumbo
Replied by jumbo on topic Re: Ask for a users age before purchase
easy way is to just change the language file.. en-GB.com_dms.ini this file is located at /public_html/language/en-GB/en-GB.com_dms.ini


look for line 35

DMS_ADDRESS2=Address2 ........... change to

DMS_ADDRESS2=AGE


now in dms config page under fields select require Address2 ... check the box to show and require

also require and show the field Address2 for free download form fields..

now you have age ..to view Data entry of age ..view your orders in the config.. look under address2 this will be the age they enter..



hope this helps..

Jumbo
Last edit: 13 years 7 months ago by jumbo.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
13 years 7 months ago #8775 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Ask for a users age before purchase
Thanks Jumbo for answering the question :) .

Just one comment, to change the text, you can edit the language file as you suggested. The other simpler way is that you go to Documents Seller -> Transation, find and change the text to what you want .

Hope this help !

Regards,

Tuan

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

  • pg2011
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago #8795 by pg2011
Replied by pg2011 on topic Re: Ask for a users age before purchase
Thank you guys for the information, it seems quite easy to implement. :)

I will try it out as soon as I finish migrating to a new server.

Buy and thanks again!

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