Call for price button

  • hkeyzer
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 10 months ago #44555 by hkeyzer
Hi,

Site is: www.nzvirtuemart.co.nz
Joomla 2.5.28
Viruemart 2.6.14

Example page : www.nzvirtuemart.co.nz/bridal-wedding-ar...ments/bridal1-detail

In the option <configuration><pricing> option for "call for pricing" is enabled.

However on proiduct detail pages where the price has not been entered the "call for pricing button" does not appear.

How do we make it appear?

Thanks

Please Log in to join the conversation.

More
9 years 10 months ago #44559 by ivan.milic
Replied by ivan.milic on topic Call for price button
Check if you have this code in :
\templates\hot_drug_store\html\com_virtuemart\productdetails\default.php

Code:
if (VmConfig::get('ask_question', 0) == 1) { $askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE); ?> <div class="ask-a-question"> <a class="ask-a-question" href="<?php echo $askquestion_url ?>" rel="nofollow" ><?php echo vmText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a> </div> <?php }

Please Log in to join the conversation.

  • hkeyzer
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 9 months ago #44579 by hkeyzer
Replied by hkeyzer on topic Call for price button
Hi,

Couldn't find it in the file you refer to, copy of the file I have is attached.

Where in this file should it be added?

Thanks
Attachments:

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 years 9 months ago #44582 by milos
Replied by milos on topic Call for price button
Hello,

Please try to change this file with attached file. Upload file to:
\templates\hot_drug_store\html\com_virtuemart\productdetails

Thanks

File Attachment:

File Name: default-2.zip
File Size:6 KB
Attachments:

Please Log in to join the conversation.

  • hkeyzer
    Inactive member
  • Topic Author
  • Member
  • Member
More
9 years 9 months ago #44604 by hkeyzer
Replied by hkeyzer on topic Call for price button
Hi,

Thanks tried that file but no luck as the products detail page is blank for example:
www.nzvirtuemart.co.nz/bridal-wedding-ar...ments/bridal2-detail

I tried to compare the files and see if I could find the issue, but the files are so completely different that I can't determine where the issue is.

Please Log in to join the conversation.

More
9 years 9 months ago #44607 by ivan.milic
Replied by ivan.milic on topic Call for price button
Can you enable error reporting in joomla global configuration so we see what is problem

Please Log in to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum