Hi,
everyone here seems to atleast know how to put this module working.
I uploaded everything like it should be, made the correction for the template that was needed but I do not see anything changing anywhere.
Should I switch it on somewhere?
Elli
Hi,
everyone here seems to atleast know how to put this module working.
I uploaded everything like it should be, made the correction for the template that was needed but I do not see anything changing anywhere.
Should I switch it on somewhere?
Elli
I may be blond but at least I found Zen.
ok, I got it working, I had made the corrections for the music info template instead of the one asked.Originally Posted by ellivir
Actually I needed this add-on only for one product and I would not like to have it visible for all other products. Can that be done?
I may be blond but at least I found Zen.
I would find this odd to only be able to ask questions about one product and not others. Nevertheless, if you truly want it to behave this way, simply wrap the ask a question logic in something like
if ($_GET['products_id'] == 27) {
... ask a question logic
}
(assuming the product they can ask questions on is product id 27)
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
This "Ask A Question" works better than Call For Price and I would use it for certain products like that and I will change the text "Ask a question about this product" for "Ask an offer regarding this product" or something like that...Originally Posted by swguy
Of course later on I may have more than one product like that too... what shall I do then?
Thanks for your answer already. I'll try that.
Elli
I may be blond but at least I found Zen.
I got an idea:
I could make the thing work by Product Type "Document - General" and then the product or later on the products that I want to have this function would be Document General Type ones.
I tried to make the same correction for the file
includes\templates\template_default\templates\tpl_document_general_info_display. php
but it didn't work. Should I change something else in this add-on to get it working with this Product type?
Elli
I may be blond but at least I found Zen.
Originally Posted by ellivir
I figured a kind of a bug out:
if you have edited in admin the Layout for the Product type by switching off model number, weight etc., the text for Ask A Question will not appear!
Settings when it won't appear:
Product Type Info Page Layout options :: Product - General
Title Value Action
Show Model Number 0 Info
Show Weight 0
Show Attribute Weight 0 Info
So, I do not want model numbers etc. visible, how would we make this add-on working in that case?
For the Document - General type of Product this is not the problem but something else... so I would need to find out how to make it work with that one anyway...
Elli
I may be blond but at least I found Zen.
The code simply needs to be added to every template you need it in. Remember the way you added it to tpl_product_info_display.php? It needs to be added to other display files you are using in the same way.
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
BTW, the ask a question contrib has just been updated with instructions on how to use the button and a SQL file to allow you to remove the previous contribution's config (if you installed ask a question prior to 1.3.0).
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
May I ask what the purpose of the following is in the code you provided:Originally Posted by swguy
Code:<br /> ASK_A_QUESTION </a>
Accursed finger trouble, of course. :)
It has been fixed.
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.