Welcome, Guest
Username: Password: Remember me

TOPIC: [1.9.0] Fix bug incorrect gift receiver info

[1.9.0] Fix bug incorrect gift receiver info 1 year 8 months ago #923

  • hungtran
  • hungtran's Avatar
  • OFFLINE
  • Moderator
  • Posts: 985
  • Thank you received: 160
  • Karma: 20
In CMGroupBuying 1.9.0 if you buy coupon for your friend, you notice that in your order detail your friend info is incorrect, the system shows your info instead of your friend's info.

To fix that you can modify components/com_cmgroupbuying/layouts/YOUR LAYOUT/order.php

Search for
                <li><?php echo JText::_('COM_CMGROUPBUYING_FRIEND_FULL_NAME'); ?>: <?php echo $buyerInfo->first_name; ?></li>

                <li><?php echo JText::_('COM_CMGROUPBUYING_FRIEND_EMAIL'); ?>: <?php echo $buyerInfo->email; ?></li>

and change them to
                <li><?php echo JText::_('COM_CMGROUPBUYING_FRIEND_FULL_NAME'); ?>: <?php echo $friendInfo->full_name; ?></li>

                <li><?php echo JText::_('COM_CMGROUPBUYING_FRIEND_EMAIL'); ?>: <?php echo $friendInfo->email; ?></li>

We apologize for any inconvenience caused and thank you for your bug report!

Regards,
CMExt Team
The administrator has disabled public write access.
Time to create page: 0.253 seconds