Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • 7of9 Friend
    #204892

    Hi,

    I have a couple of problems:
    1. I get error: Notice: Undefined property: VirtueMartViewProductdetails::$askquestion_url in templates/ja_hawkstore/html/com_virtuemart/productdetails/default.php on line 32
    Is this why the ask questions is not shown?
    2. I added related products and they are not shown.

    Please advise.

    Thanks in advance.

    Adam M Moderator
    #564286

    Hi @7of9,

    I have just checked this matter and look like it’s a bug, please stay tuned while I’m investigating the issue and will reply back shortly with the solution.

    7of9 Friend
    #564364

    Thanks, I’m waiting.

    7of9 Friend
    #564489

    Hi @adam M ,

    Any news about that? Have you opened a ticket about this?

    Adam M Moderator
    #564620

    Hi @7of9,

    Not sue what you have changed in your site but I didn’t see the problem there anymore, could you please confirm your status ?

    7of9 Friend
    #564637

    Hi @adam M ,

    The problem remains, however in order to see the error you need to change the error level from Joomla; Global configuration, from System Default to Maximum.
    Also what about the problem of related products?

    Thanks in advance.

    Adam M Moderator
    #564792

    Hi @7of9,

    1. The option Maximum and Development is not a recommended setting for Error Reporting, normally just set it to use System Default, more detail can be found here.

    2. It’s a bug with Virtuemart 3 so you might have to wait for next update.

    7of9 Friend
    #564846

    Hi @adam M ,

    I don’t have the setting to maximum. I only set it for a while, in order to debug errors. In any case, this is what it is there for.

    Adam M Moderator
    #565038

    Hi @7of9,

    1. About the problem with error:

    Notice: Undefined property: VirtueMartViewProductdetails::$askquestion_url in templates/ja_hawkstore/html/com_virtuemart/productdetails/default.php on line 32

    please open file templates/ja_hawkstore/html/com_virtuemart/productdetails/default.php and look for this code :

    $.facebox({
    iframe: '" . $this->askquestion_url . "',
    rev: 'iframe|550|550'
    });

    update as below :

    $.facebox({
    iframe: '" . $askquestion_url . "',
    rev: 'iframe|550|550'
    });

    then look for this line :

    $document = JFactory::getDocument();

    and update as below :

    $document = JFactory::getDocument();
    $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);

    2. Another problem with Related Products, it’s a bug from Virtuemart 3 so you will have to wait for next update of Virtuemart as mentioned in my previous reply.

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 2 voices, and was last updated by  Adam M 9 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum