Post by D3MO » Fri May 24, 2019 1:28 am

https://www.opencart.com/index.php?rout ... n_id=36908

It is hardly that out of the box opencart do have all features to meet all of your store needs. And these needs are based on the products you as a store owner are selling.

But we do all agree that no matter what you sell, it is a must to be able to add extra information about a product.

This module allows you to create product attributes and to show them on a Product page in the locations where you as website owner want. All you have to do is to create an attribute and add a code snipet into your template file, where you want the custom information to be shown.

So with the help of this module you will be able easily to add ANY extra information related to the product. The usage ideas are limitless, you can add extra notices, technical specifications, product ingredients or ANY other required text based information and show it anywhere on the page.

Module does support multistore and is fully multilingual.


https://www.opencart.com/index.php?rout ... n_id=36908

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by straightlight » Thu May 30, 2019 7:21 am

It's unfortunate to see that this extension costs $20.00 since my extension on GitHub: https://github.com/straightlight/openca ... seller.php

where:

Code: Select all

$data['products'][] = array(
could contain above:

Code: Select all

$product_attributes = $this->model_catalog_product->getProductAttributes($result['product_id']);
and after:

Code: Select all

'rating'      => $rating,
to add below:

Code: Select all

'attributes' => ($product_attributes ? $product_attributes : array()),
Then, in the bestseller.twig file, to use in the for loop statement:

Code: Select all

{% if product.attributes %}
    {% for attribute in product.attributes %}
        ... code here ...
    {% endfor %}
{% endif %}
demonstrates most of the basics based on the highest demands with the best sold out products.

Detailed information regarding its free of use can be found on this official topic: viewtopic.php?f=24&t=210586

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by D3MO » Fri May 31, 2019 3:35 am

well your attributes are in array and are parsed in twig file sow with it you cant add one attribute to one location another attribute to another location (yes you can parse it in controller you can say) , also my module does offer to show/hide attributes from standart attributes tab, and lastly it is up to everyone to do what they want:) if you want to give your modules for free it is up to you:) you can even go to work and do not take salary it is also up to you. or you can bring all street homeless people to your home and allow to live in your place:)) that is also your right... (but who will pay the bills:)))?

And i dont see any reason why should someone spend hour or 2 hours or more developing something (if it is not a hobby or learning curve) and giving away for free for someone to earn from it:). I doubt that people launching opencart stores are preparing a charity websites were they will be giving away their products for free :)

And lastly paid modules do have support and adoptions and if required addons of new features if a client need. Income makes the world turn.
straightlight wrote:
Thu May 30, 2019 7:21 am
It's unfortunate to see that this extension costs $20.00 since my extension on GitHub: https://github.com/straightlight/openca ... seller.php

where:

Code: Select all

$data['products'][] = array(
could contain above:

Code: Select all

$product_attributes = $this->model_catalog_product->getProductAttributes($result['product_id']);
and after:

Code: Select all

'rating'      => $rating,
to add below:

Code: Select all

'attributes' => ($product_attributes ? $product_attributes : array()),
Then, in the bestseller.twig file, to use in the for loop statement:

Code: Select all

{% if product.attributes %}
    {% for attribute in product.attributes %}
        ... code here ...
    {% endfor %}
{% endif %}
demonstrates most of the basics based on the highest demands with the best sold out products.

Detailed information regarding its free of use can be found on this official topic: viewtopic.php?f=24&t=210586

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by Van Quyen » Sun Nov 01, 2020 8:31 pm

Apply wherever you want to show
for all attribute of products, search and change your ID NUMBER ATTRIBUTE GROUP at database oc_attribute_group_description

Code: Select all

{% if attribute_groups %}
    {% for attribute_group in attribute_groups %}
      {% if attribute_group.attribute_group_id == ID NUMBER ATTRIBUTE GROUP   %}
        {% for attribute in attribute_group.attribute %}
          <span>{{ attribute.name }}</span> {{ attribute.text }}<br />
        {% endfor %}
      {% endif %}
    {% endfor %}
  {% endif %}
Only attribute of products, search and change your ID NUMBER ATTRIBUTE at database oc_product_attribute

Code: Select all

{% if attribute_groups %}
    {% for attribute_group in attribute_groups %}
      {% for attribute in attribute_group.attribute %}
      {% if attribute.attribute_id == ID NUMBER ATTRIBUTE  %}
          <span> {{ attribute.name }} <span>  {{ attribute.text }}<br />
      {% endif %}
        {% endfor %}
    {% endfor %}
  {% endif %}

Newbie

Posts

Joined
Wed Jan 09, 2019 3:36 pm
Who is online

Users browsing this forum: Semrush [Bot] and 302 guests