Show Posts


Messages - Rey

Pages: [1] 2 3
1
Customization help / Re: Adding new fields on checkout pages
« on: February 03, 2017, 12:41:01 AM »
EDIT: Double post.

2
Customization help / Re: Adding new fields on checkout pages
« on: February 03, 2017, 12:39:57 AM »
Yes, apparently that is the only thing left to do. But the latest version supported by that extension is 1.2.8 and I am running 1.2.9, so I don't know..

3
Customization help / Re: Adding new fields on checkout pages
« on: February 02, 2017, 08:37:45 AM »
UPDATE: Nothing works. I have simply given up. Such small thing but obviously missing out on something. (That too when I am not new to programming)

Anyway, So now can you guys recommend some other ways to take some additional information from the customer, while making an order or after the checkout is successful?

Many thanks.

4
Customization help / Re: How to put the phone number in header
« on: January 30, 2017, 07:19:21 AM »
You need to edit your header.tpl file to achieve this.

5
Customization help / Re: Adding new fields on checkout pages
« on: January 30, 2017, 02:39:20 AM »
Hi,

Since you are going to add the data into orders table, you need to alter the lib/order.php first. Otherwise the data won't be stored. As for confirm.tpl, you need to fetch the data from database and pass it from checkout/confirm.php. Hope it helps.

Thanks a ton for the tip.
Let me try doing this at once and will post the results.
Cheers.

6
Customization help / Re: Adding new fields on checkout pages
« on: January 29, 2017, 10:59:11 AM »
UPDATE: I am literally at my wits end on this one. There is absolutely nothing left that I haven't done to make this work.
Sure someone else must have done something like this? Kindly share your doings please.

7
Customization help / Re: Adding new fields on checkout pages
« on: January 29, 2017, 05:52:10 AM »
For correct display for the fields you need to use right HTML structure of the bootstrap v3.

Try something like this:

Code: [Select]
<div class="form-group <?php if (${'error_'.$field_name}) echo 'has-error'?>">
<label class="control-label col-md-5"><?php echo ${'entry_'.$field_name}; ?></label>
<div class="input-group col-md-7">
    <?php echo $form[$field_id]; ?>
</div>
<span class="help-block"><?php echo ${'error_'.$field_name}; ?></span>
</div>

The rest of your steps are correct.

If you do not see data saved in the order, please double check that your fields are located between <form></form> tags.
Check what data is posted into the controller on the submit.

Thank you for sharing these in details

Thanks for the input. The thing is there is a comment field already on the page where I want to put new fields. I have followed exact details of how the comment field works, but still new fields are not working.

The new fields are exactly below comment field and between <form></form> tags, still not working.

Should I add the above code in the .tpl file?

Thank you.

8
Go to your admin panel, in the top search bar type There are no products to list in this category, when the results appear, click on text_empty, modify the text as your wish.
Be warned that you cannot leave it completely empty, so just add a single space if you wish to not show anything.

9
Customization help / Adding new fields on checkout pages
« on: January 27, 2017, 01:29:47 PM »
Hello, I need to add three text fields on
Code: [Select]
?rt=checkout/payment page, to take important information needed for the services I provide via my store.
I have taken following steps: -

1. I have added the required fields in this page -
Code: [Select]
\storefront\controller\pages\checkout\payment.php like this -


2. Have modified the database and created the required fields and edited this file -
Code: [Select]
\storefront\model\checkout\order.php to modify the SQL, like this -


3. Have modified these two template files -
Code: [Select]
\storefront\view\default\template\pages\checkout\payment.tpl and
Code: [Select]
\storefront\view\default\template\pages\checkout\confirm.tpl, to add the textboxes on
Code: [Select]
?rt=checkout/payment page and show the entered values on the
Code: [Select]
?rt=checkout/confirm page. Have edited templates like this -
payment.tpl: -


confirm.tpl: -


The textboxes are shown on
Code: [Select]
?rt=checkout/payment page but the values are not shown on
Code: [Select]
?rt=checkout/confirm page, neither are they geting inserted in the database. e.g.:-
Textboxes are shown: (Not able to correctly position the Red required asterisk as well)


Values are not shown on checkout/confirm page:


Please advise whether I have done it correctly or have missed or overlooked something?

Many thanks.

P.S. I do not want to use any extension from the marketplace.

10
Opinions / Re: Hindi language
« on: January 27, 2017, 12:13:05 PM »
We are consider to create Hindi language for the Indian market. Please help understand if it necessary for our users

Other suggestion are welcome

Indian user: As far as I know we barely use google translate here in INDIA so if you guys are considering machine translator then I think it's not much needed here in INDIA
#JustASuggestion
I do not follow you. You do not need to use google translate. We will do that.  We will need your help to correct machine translation to human.

He meant that we here in India do not use translated text much, all apps, programs etc. are used in English only, so he says it is not of much use to translate AbanteCart in Hindi.
But maybe there are some users who prefer Hindi so its better to have Hindi translation, just in case.

11
General Support / Re: AbanteCart not working fully with PHP 7
« on: January 26, 2017, 01:05:22 PM »
Check your php.ini file and add these lines or un-comment them if they don't exist or are commented out:
Code: [Select]
extension=php_openssl.dll
allow_url_fopen = On
Tell us the results.

Your code snippet did not work.

Those lines exist in your php.ini?

12
General Support / Re: AbanteCart not working fully with PHP 7
« on: January 26, 2017, 10:54:01 AM »
Check your php.ini file and add these lines or un-comment them if they don't exist or are commented out:
Code: [Select]
extension=php_openssl.dll
allow_url_fopen = On

Tell us the results.

13
Opinions / Re: I can't get into maintenance mode .
« on: January 26, 2017, 03:13:37 AM »
Hi.

In bug tracker you can subscribe to receive notification when anything changed related to this issue
Will do that. Thanks :)

thanks all

i have uploaded abantecart on a localhost and will do the bulk of the work there,
make some notes, then on to the the live store
Yes, thats what I do. Do trial and error on localhost(I use WAMP), make note of what files to edit and then make changes on the live site.
Its better this way.

14
Opinions / Re: Hindi language
« on: January 25, 2017, 01:37:14 PM »
Thank you for the offer. Are you able to translate the text? What is better for you, if we provide machine translation and you correct the text or you translate directly from English?

If you have some already translated text, provide me that and I will correct it, if needed.
And the text which is yet un-translated, I can translate it directly.

15
Opinions / Re: Hindi language
« on: January 25, 2017, 09:25:12 AM »
Is the Hindi help still needed? Native speaker here, can help.

Thanks.

Pages: [1] 2 3

Powered by SMFPacks Social Login Mod