VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: aravot on September 09, 2007, 11:02:12 AM

Title: [Feature Request] Option to Hide Ask question about this product
Post by: aravot on September 09, 2007, 11:02:12 AM
Feature request:

Option to Hide Ask question about this product.

(http://www.filefarmer.com/aravot/joomla/vm/vm-hideaskquestion.gif)
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: 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
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: 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.
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: macallf on September 09, 2007, 20:02:25 PM
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!
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: aravot on September 09, 2007, 20:05:44 PM
Point noted.
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: swarre on January 14, 2008, 12:53:37 PM
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
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: aravot on January 14, 2008, 19:15:36 PM
Which version of VirtueMart are you using?
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: swarre on January 14, 2008, 23:29:47 PM
Version 1.0.13

thx in advance!
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: aravot on January 14, 2008, 23:35:53 PM
Not available in VM 1.0.13, it will be part of VM 1.1 which is in development.
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: swarre on January 15, 2008, 16:35:48 PM
ok!
Is it already available in the beta edition? and is it stable?
Thanks
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: pmuruaga on July 11, 2008, 05:56:30 AM
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.
Title: Re: [Feature Request] Option to Hide Ask question about this product
Post by: pmuruaga on July 11, 2008, 07:20:11 AM
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.