test
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • Saguaros Moderator
    #912075

    Hi

    We’ve recently released a new version of template for J3.5.

    Please try to take a FULL BACKUP of your site and update template + T3 to the latest version (you can use JA Extensions Manager component to update)

    Remember to BACKUP first.

    Gigaparts Friend
    #912229

    I downloaded the new version, uploaded package file but i got error. Can you please instruct me?

    Saguaros Moderator
    #912251

    Please take a BACKUP of your site and use JAEM to update.

    JA Extension manager – JAEM – is a free extension, you can download and check its documentation for how to use it: https://www.joomlart.com/documentation/joomla-component/ja-extension-manager

    Gigaparts Friend
    #912281

    Hello

    I send you error message i get. Please see attached images


    1. UPLOAD1-1
    2. UPLOAD2
    Saguaros Moderator
    #912294

    In the backend settings of JAEM, try to change to use Joomlart Services instead of Local service: https://www.joomlart.com/documentation/wiki-ja-extension-manager/admin-panel

    and add your JoomlArt info in Authentication field.

    Gigaparts Friend
    #912307

    Hello

    I changed it but now it needs mysql configuration.

    In the setup guide i didnt understand how i can change it. what i must change there?

    Saguaros Moderator
    #912309

    You just need to access Configuration in JAEM and hit the ‘Save’ button: http://prntscr.com/aqtxtr

    Then it’s fine to proceed the update

    Always backup your site first.

    Gigaparts Friend
    #912321

    hello

    I updated to new version and i still get error message.

    Saguaros Moderator
    #914697

    You can send me the login info of your site and an account to test the purchase.

    I will check for you.

    Gigaparts Friend
    #915105
    This reply has been marked as private.
    Saguaros Moderator
    #917597

    Did you try to switch default template to a Joomla template and proceed to check out an item again?

    I will try with the latest version of template in my local and see how it goes.

    Gigaparts Friend
    #919693

    hello

    It seems to be a change in Joomla 3.5.1 regarding Virtuemart 3.

    I fixed this problem by changing some code.

    If you want i can post this solution here.

    Saguaros Moderator
    #919980

    That would be great and very helpful to community if someone face the same issue

    It’s much appreciated!!!

    Gigaparts Friend
    #920285

    Hello

    This is the solution.

    Open components/com_virtuemart/helpers/shopfunctionsf.php

    Find the following codes between lines 654 to 674:
    if(!$noVendorMail) {
    $replyTo[0] = $view->vendorEmail;
    $replyTo[1] = $view->vendor->vendor_name;
    $mailer->addReplyTo( $replyTo );
    } else {
    if(isset($view->orderDetails[‘details’]) and isset($view->orderDetails[‘details’][‘BT’])){
    $replyTo[0] = $view->orderDetails[‘details’][‘BT’]->email;
    $replyTo[1] = $view->orderDetails[‘details’][‘BT’]->first_name.’ ‘.$view->orderDetails[‘details’][‘BT’]->last_name;
    } else {
    if (isset($view->user->email) and $view->user->name) {
    $replyTo[0] = $view->user->email;
    $replyTo[1] = $view->user->name;
    } else {
    $replyTo[0] = $view->user[’email’];
    $replyTo[1] = $view->user[‘name’];
    }

            }
    
            $mailer->addReplyTo( $replyTo );
        }

    Replaced above with

        $replyTo = array();
        $replyToName = array();
    
        if(!$noVendorMail) {
            $replyTo[0] = $view->vendorEmail;
            $replyToName[0] = $view->vendor->vendor_name;
        } else {
            if(isset($view->orderDetails['details']) && isset($view->orderDetails['details']['BT'])) {
                $replyTo[0] = $view->orderDetails['details']['BT']->email;
                $replyToName[0] = $view->orderDetails['details']['BT']->first_name . ' ' . $view->orderDetails['details']['BT']->last_name;
            } else {
                if(isset($view->user->email) && $view->user->name) {
                    $replyTo[0] = $view->user->email;
                    $replyToName[0] = $view->user->name;
                } else {
                    $replyTo[0] = $view->user['email'];
                    $replyToName[0] = $view->user['name'];
                }
            }
        }
    
        if(count($replyTo)) {
            if(version_compare(JVERSION, '3.5', 'ge')) {
                $mailer->addReplyTo($replyTo, $replyToName);
            } else {
                $replyTo[1] = $replyToName[0];
                $mailer->addReplyTo($replyTo);
            }
        }

    Save the file and its is done.

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

This topic contains 14 replies, has 2 voices, and was last updated by  Gigaparts 8 years, 8 months ago.

The topic ‘VM checkout problem’ is closed to new replies.