Jump to content

Flags on Order Forms Issue


MikkelDK

Recommended Posts

Hello,

 

I have some problems, since i have in 3weeks -to- 1 month try to find the "issue" about to add flag/ping on 2 location.

 

The problem is flags dont works for 1 server. (Since i try add France flag on product), the flag is incl on all 3 locations.

 

Example:

Roubaix

Gravelines

London (which need to be England flags)

 

And i have try to add ping (which dont works, since it only show on 1 location and not on 2 other location with 2 random IPs)

 

I will upload some screenshots and hope you can help me.

 

ScreenShot: #1

i.gyazo.com/4f8424f6ff23a8b1cc70fd9716364a4f.png

ScreenShot: #2

i.gyazo.com/611542e3918c0ab9508e1097ceebe92b.png

ScreenShot: #3

i.gyazo.com/bb54c27ba73dbed16eebba1fdf3918af.png

 

What to do?

I´m not expert with edit on .tpl file. - Order form is modern.

 

Regards

Mikkel

Edited by Infopro
Please Attach Images to Your Posts
Link to comment
Share on other sites

it would have been nice to see the code that you're currently using! :)

 

if we split them up into 2 different problems and deal with them separately - the flag issue would be the easiest to solve in that it's just going to be an {if} statement inside one of the foreach loops within the {if $configurableoptions} section of the configureproduct.tpl template.

 

what you'll have to do is define which configurable options use each flag - if there's only 3 servers, you can probably do it in the if statement... if there were a lot of servers, you'd think about using arrays.

 

the ping problem is difficult to sort as I don't know the code you're using or how you're using it - but logically it should be on the same line as the above {if} statement.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated