Ecshop Group Buying list calls the method of buying price

Source: Internet
Author: User
Tags php file

1),

First modify the/group_buy.php file
Found it

$group _buy[' price_ladder '] = $price _ladder;

Add a piece of code underneath it

$group _buy_info = group_buy_info ($group _buy[' act_id '));
$group _buy[' formated_cur_price '] = $group _buy_info[' Formated_cur_price '];

2),
then modify the corresponding Ecshop template file:/themes/template folder/group_buy_list.dwt
In

{$lang. gb_price_ladder}<br/>

Add a piece of code above

<font color= #ff3300 > Current price: {$group _buy.formated_cur_price} </font><br/>

That's it, okay?

After that, you can get a graphical effect like this,
The red part of the picture above is the current price of group buy.
If modified,
I don't see any changes to the Group Buy list page,
Go to the ecshop background to clear the cache.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.