• Register
Plug-in Tutorial Build an EC-CUBE plug-in

Top Commentators

114

1

EC Mike

SHOGUNSHOGUN

32

2

hrbabu

SAMURAISAMURAI

29

3

Sumant Jha

SAMURAISAMURAI

29

4

justcubed

SAMURAISAMURAI

21

5

Ashok Kafle

SAMURAISAMURAI

21

6

shahith

SAMURAISAMURAI

14

7

Jeemusu

KABUKIKABUKI

14

8

Yangsin

KABUKIKABUKI

9

9

Zaw Hlaing Bwar

GEISYAGEISYA

8

10

Fei Liu

GEISYAGEISYA

Ranking Key

  • FUJISANFUJISAN1,000+ posts
  • SAKURASAKURA500+ posts
  • SHOGUNSHOGUN100+ posts
  • NINJYANINJYA50+ posts
  • SAMURAISAMURAI20+ posts
  • KABUKIKABUKI10+ posts
  • GEISYAGEISYALess than 10 posts

[EC-CUBE 3] How to load product in template

0 votes
Hi, I'm new for EC-cube 3. I have a problem when try to load some products to top page. 
 
    <div class="row">
        <div class="col-sm-4 col-xs-12">
            <div class="pickup_item">
                <a href="{{  url('product_detail', {id : 2}) }}">
                    <div class="item_photo"><img src="{{ app.config.front_urlpath }}/img/top/img03.jpg"></div>
                    <dl>
                        <dt class="item_name text-warning">お気に入りのエスプレッソタイム</dt>
                        <dd class="item_comment">コーヒータイムを上質な時間にしてくれる、口当たりのよさとデザイン性を兼ね備えたエスプレッソカップを集めました・・・</dd>
                        <dd class="more_link text-warning">read more</dd>
                    </dl>
                </a>
            </div>
        </div>
 
This Block should be shown out the new products. But in this code jus display HTML code.
So how to I can get products and show out to .twig file. without modifying Controller
Thank you!
asked 2016-11-29 by choidk (140 points) GEISYAGEISYA

Please log in or register to answer this question.

...