adding more info click to custom fields?

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19199

Did as you adviced and still the same problem... i even tested it with just a couple fields of the type text. and still same issue.. i noticed that after clicking next on step 4 the url says step 5 but the same information display is the same.. if i click next again it takes me to a blank page with the same url..

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19203

It's not a matter of which custom fields you add in but that the data is not in the session where it should. Could you try with the default checkout workflow ? Since everything is on one step, that might allow the system to not lost the session data...
I tried to do it on your website but the administrator access you gave doesn't work anymore.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19204

try it again, i was cleaning up the users, sorry about that.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19206

would it have anything to do with the access levels? i added a guest level for some modules to show for non loged in users. just a thought.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19207

Now, I have a blank page at the end of the checkout. Could you activate the debug mode of joomla and turn on the display_errors option of php so that we can see the error ?

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19208

Debug in joomla is turned on, i don't think i have access to the php.ini file , i just got off the phone with the owner of the server, he will be looking into it. have far can we get with just the debug in joomla?

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19210

i tried add
php_value display_errors on and
php_flag display_errors on


via .htaccess, the site started giving me 505 errors

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19216

Normally, you should be able to add a php.ini file at the root of your website which will override the default php.ini

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19229

just added the php.ini file to the root of the site, in on line added

display_errors=on;

let me know if that works.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19237

Thanks. That helped.

The problem was that you changed the type of the custom field of the type "custom text" to something else. That's actually not possible as the custom text field does not have a column in the database. It's just there to display text. Because of that the query to save the order wasn't working as it was trying to insert the data in a column which doesn't exist.
I've changed back the type of that field to something else and I was able to complete the order.
We'll add some code in next version of HikaShop in order to remove the possibility to change the type of a custom text custom field once created so that this kind of issue cannot happen.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19260

any reason why it wouldn't work if i display a field more then 1 time?

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19279

You can't have more that one input with the same name in a HTML form tag. What you should do is to display all the fields and add some javascript to hide/display rows of fields based on the selection of the user.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19282

Care to share those few lines of code? ;) , It would take me hours to get it right..

It would be based on a radio selection field; was my first thought.

Thanks in advance,

Hikashop rocks!!

Last edit: 13 years 5 months ago by Rickhavoc.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19290

That's out the scope of the support forum. We help when it's one or two lines of code or we give hints, but we can't provide such bigger customization on the forum. Also, that will depend on your custom fields...
If you want us to do it for you, please use our contact form to request a quote and we will do it for a small fee.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19329

Just sent the details.. let me know... thank you.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19390

Let me know how it is going. Thank you.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19391

I made the modifications needed in the file custom_fields of the view checkout.
The code should be easy to understand.
It is now displaying the the necessary fields based on the selection of the customer.

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

  • Posts: 156
  • Thank you received: 0
13 years 5 months ago #19394

It seems to be working right until i click next, the page flickers and removes the fields that were added. the url at the top says step 3 but it's still on the fields page. Also i am not getting any emails for the admins.. please check the code

Edit-

The customer email is being sent but the admin emails are not being sent... please advice.

edit 2-

Emails are fine, the server was rejecting the source of the emails.

Last edit: 13 years 5 months ago by Rickhavoc.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19399

Indeed, the preselection of the fields is not taken into account. We'll look at that.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 5 months ago #19408

We made the modification.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum