0

I am using this code, can anyone help me out with this:

{{block type="catalog/product_list" limit="8" column_count="4" category_id="1" template="catalog/products.phtml"}}

  • Can You post the block file to related template file @Touseef Akhtar – Learing_Coder Aug 22 '17 at 6:11
  • The block is working but i wanted to show limited products like 4,8,12 etc – Touseef Akhtar Aug 22 '17 at 6:25
  • the collection limit is written in block it self can You just post Your Block file @Touseef Akhtar – Learing_Coder Aug 22 '17 at 6:31
  • <?php $_columnCount = $this->getColumnCount(); ?> <ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col"> – Touseef Akhtar Aug 22 '17 at 6:33
  • Some start code. – Touseef Akhtar Aug 22 '17 at 6:34
0

Try below code

{{block type="catalog/product_list" product_count="12" column_count="4" category_id="1" template="catalog/products.phtml"}}
  • {{block type="catalog/product_list" product_count="12" column_count="4" category_id="1" template="catalog/products.phtml"}} not working – Touseef Akhtar Aug 22 '17 at 6:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.