Related Articles

13 Comments

  1. 1

    Florin

    worked on opencart 2.1.0.1. Thank you!

    Reply
    1. 1.1

      Cristina

      Can I get assistence?

      Reply
  2. 2

    Cristina

    I receive this warning:
    Notice: Undefined index: attribute_groups in /web/htdocs/www.cadoreshop.com/home/catalog/view/theme/theme561/template/product/category.tpl on line 139

    Reply
    1. 2.1

      brandd

      did you solve this?

      Reply
  3. 3

    Carlos Vieira

    Hello rupak do you have this in ocmod to OC 2.0, this change works like a charm if edited manualy the files, but my objetive is create ocmod.I try to create another similar of this but the only change is show ‘sku value’ and i have some issues, in register say
    the line of search not found i put this line “‘thumb’ => $image,” Can you help me?

    Reply
  4. 4

    Marius

    Hi!
    I am using Opencast 2.2.0. I did exactly what you’ve said countless times.
    I copied the attributes display from product.php and .tpl . No luck.
    I get “Undefined index: attribute_groups in /var/www/virtual/…”
    I am getting crazy here. What am I missing?
    Thank you!

    Reply
    1. 4.1

      Rupak Nepali

      Hi Marius,

      You need to change at category.php and category.tpl
      I checked it at 2.2 version and it is working fine with above code.
      Please try it again 🙂
      Hope you will be able to fix it.

      Once I got chance I will publish OCMOD

      Thanks
      Rupak

      Reply
      1. 4.1.1

        eds

        Hi Rupak

        Do you think its possible to display the category of the product?

        Reply
      2. 4.1.2

        eds

        Hi Rupak

        Do you think its possible to display the category of the product? if it is could u help me? thanks

        Reply
        1. 4.1.2.1

          Rupak Nepali

          Hi Eds,

          Yes it is possible but it will redundancy of category as we are already in category page so hope not needed to show category in category page for products.

          If needed I will soon write some code for it

          Reply
  5. 5

    jack

    Worked for me. Thank you for posting this tutorial.

    How can modify this code to display attributes in this format?

    Attribute Name 1 Attribute Name 2 Attribute Name 3
    Attribute Value 1 Attribute Value 1 Attribute Value 1

    Reply
  6. 6

    FARUK

    how about product.tpl I want to show right side all attributes on product page how can I do that ? Thanks

    Reply
    1. 6.1

      Rupak Nepali

      Hi Faruk,

      It is easy in product page.
      You can add following code at catalog\view\theme\***\template\product\product.tpl where ever you want to show the attributes.

      I have take code from product.tpl, so you can remove those table tags and implement your design

      Thanks
      Rupak

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *