s08e02 - Per Product FAQs SUPPORT / QUESTIONS / CHAT

Open to all! Ask other shopowners for help.
Fiber
Contributor
Posts: 173
Joined: Mon Oct 26, 2020 12:16 pm
Phoenix Version: v1.1.0.6
Has thanked: 17 times
Been thanked: 27 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by Fiber »

villameschik wrote: Wed May 19, 2021 6:25 am I have installed again on a clean version, everything works for me but it does not show me the client's questions in the different language. I use php 7.4, I have no errors log. how can I solve?
Hi, you don't have to solve that, because it works as intended .. :-) I think you are making a mistake, if the client's language is German, the question is of course also in German, and that's how you see it then also in your admin see your own screenshot, then translate in your admin to the languages you have set. Phoenix is not a translation software :-)
Turn up the Max

Tags:


Join The Code Co-op to get access to your library in the Code Co-op Forum
villameschik

Re: s08e02 - Per Product FAQs SUPPORT

Post by villameschik »

Fiber wrote: Wed May 19, 2021 8:07 am
villameschik wrote: Wed May 19, 2021 6:25 am I have installed again on a clean version, everything works for me but it does not show me the client's questions in the different language. I use php 7.4, I have no errors log. how can i solve?
Hi, you don't have to solve that, because it works as intended .. :-) I think you are making a mistake, if the client's language is German, the question is of course also in German, and that's how you see it then also in your admin see your own screenshot, then translate in your admin to the languages you have set. Phoenix is not a translation software :-)
Hi Fiber, then I apologize for the time I wasted you, thanks for this information.
so if i have a multilingual site i have to run all day in each language installed in admin to find customer questions? doesn't it seem strange?
lambro28
Member
Posts: 62
Joined: Sun Jan 03, 2021 2:47 pm
Phoenix Version: v1.1.0.6
Has thanked: 11 times
Been thanked: 8 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by lambro28 »

Hi
Love the FAQ and it is working well.

Just one small bit of help would make our life so much eaiser, would be a link to the product page.
So for example on this page, question about ..... The text Lambretta side panel badge would open a new window and take you to the product page. We have probably 2,000 products and some are similar named.

Is this easy enough to do... please bear in mind my skills just about cope with copy and paste :D
You do not have the required permissions to view the files attached to this post.
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by Kofod95 »

The product_id is in the code already, so it should be easy enough to make a link to the relevant product-page. I'm not at my PC now, so cannot help too much, but if you find any link to a product-page in any file, you should be able to use that along with the variable containing the product_id in the FAQ-code to do as you want.
Hope it makes sense, else I shall gladly try to be more helpful later today.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
lambro28
Member
Posts: 62
Joined: Sun Jan 03, 2021 2:47 pm
Phoenix Version: v1.1.0.6
Has thanked: 11 times
Been thanked: 8 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by lambro28 »

Kofod95 wrote: Fri Aug 13, 2021 6:51 am
Hope it makes sense, else I shall gladly try to be more helpful later today.

//Daniel
Hi, it maies sense,, but I am struggling to do this correctly. Anby chance of a helping hint?
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by Kofod95 »

@lambro28
I'm by no means an expert, so I might be very wrong, but to my eyes, line 181

Code: Select all

      echo sprintf(ENTRY_QUESTION_PRODUCT, $product->get('name'));
Could be merged with a link. We can find help from the email at line 70, that links to the product-page

Code: Select all

tep_catalog_href_link('product_info.php', 'products_id=' . (int)$check_status['product_id'], 'SSL')
Might want to replace

Code: Select all

$check_status['product_id']
With

Code: Select all

($faqs['product_id']);
Or simply

Code: Select all

$product->get('id')
I have no idea if it works, but I would start there, and see how much it fucks stuff up, and then spend some time cleaning up the mess whilst enjoying a smoke on my pipe and some Spanish Syrah (It's late here now).

I'm looking forward to hear if it is close to something, and will gladly try to be more helpful if needed :)

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
lambro28
Member
Posts: 62
Joined: Sun Jan 03, 2021 2:47 pm
Phoenix Version: v1.1.0.6
Has thanked: 11 times
Been thanked: 8 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by lambro28 »

Kofod95 wrote: Thu Aug 19, 2021 9:05 pm will gladly try to be more helpful if needed :)

//Daniel
Just send me your pipe please ..................... :D :D
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by Kofod95 »

lambro28 wrote: Thu Aug 19, 2021 9:21 pm Just send me your pipe please ..................... :D :D
This is my current first choice ;)

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
mendoh
Member
Posts: 5
Joined: Thu Mar 04, 2021 6:10 pm
Phoenix Version:

Re: s08e02 - Per Product FAQs SUPPORT

Post by mendoh »

Hello everybody.
I am using this very nice code and it works perfectly for me, except for one thing: on a multi-language site, no matter the question language on shop side, it is always received into the English box on admin side.
When replying to the question, if I attempt to write in a different language than English, it would not accept both the reply and the question.
Bottom line: only English appears to work, despite being on a multi-language website.
I am on 1.0.7.18.
Anybody experiencing any similar issue?
Thank you.
lambro28
Member
Posts: 62
Joined: Sun Jan 03, 2021 2:47 pm
Phoenix Version: v1.1.0.6
Has thanked: 11 times
Been thanked: 8 times

Re: s08e02 - Per Product FAQs SUPPORT

Post by lambro28 »

mendoh wrote: Fri Oct 01, 2021 5:17 pm Hello everybody.
I am using this very nice code and it works perfectly for me, except for one thing: on a multi-language site, no matter the question language on shop side, it is always received into the English box on admin side.
When replying to the question, if I attempt to write in a different language than English, it would not accept both the reply and the question.
Bottom line: only English appears to work, despite being on a multi-language website.
I am on 1.0.7.18.
Anybody experiencing any similar issue?
Thank you.
Look at the top of of the page, and further back, it will not do what you think it should.
Fiber wrote: Wed May 19, 2021 8:07 am
villameschik wrote: Wed May 19, 2021 6:25 am I have installed again on a clean version, everything works for me but it does not show me the client's questions in the different language. I use php 7.4, I have no errors log. how can I solve?
Hi, you don't have to solve that, because it works as intended .. :-) I think you are making a mistake, if the client's language is German, the question is of course also in German, and that's how you see it then also in your admin see your own screenshot, then translate in your admin to the languages you have set. Phoenix is not a translation software :-)


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply