News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[Feature Request] Option to Hide Ask question about this product

Started by aravot, September 09, 2007, 11:02:12 AM

Previous topic - Next topic

macallf

It is a template option.

i.e. if this code is present in the flypage template

<?php echo $ask_seller ?>

Then the link will appear
Mark
All of My old mods are now available on my website.
Mark Callf Designs

If you like the work I've done for VM please fell free to Donate

Please Note: I am no longer actively developing or involved with VM development.

aravot

Can't a hide / show option be added to 'Site -> Layout -> Configuration Parameters' I am sure this is something users will keep asking, thanks for looking into it.

macallf

Quote from: aravot on September 09, 2007, 19:57:10 PM
Can't a hide / show option be added to 'Site -> Layout -> Configuration Parameters' I am sure this is something users will keep asking, thanks for looking into it.

Not really, it is not a site wide parameter. If it is set in your flypage it will be shown. If it is not, it won't.

What if you have a category where customers would want to ask questions but for supplementary items you don't.

You would then either have to choose never to show it or always show it. This way, it is up to the store owner which items they display using their flypages.

Making it a global option begins to negate the use of templates!
Mark
All of My old mods are now available on my website.
Mark Callf Designs

If you like the work I've done for VM please fell free to Donate

Please Note: I am no longer actively developing or involved with VM development.


swarre

we would like to add the 'ask a question to admin' to the products in our shop,
but there is nowhere to activate it.
any helpM




swarre

ok!
Is it already available in the beta edition? and is it stable?
Thanks

pmuruaga

Quote from: macallf on September 09, 2007, 12:41:03 PM
It is a template option.
i.e. if this code is present in the flypage template
<?php echo $ask_seller ?>
Then the link will appear
Sorry for continue this, but I don't understand, where should I change it o add this code or eliminate it to desabilitate the functionality of ask question to the seller. Thank you very much.

pmuruaga

I found it, thank you for the clue, where did I find? here:
components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php
on line 41:
<td colspan="2"><?php //echo $ask_seller ?></td>
I just comment it.
It could be usefull for some newie like me. Bye.