Page 1 of 1

Add attribute information anywhere on product page

Posted: Fri May 24, 2019 1:28 am
by D3MO
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

Re: Add attribute information anywhere on product page

Posted: Thu May 30, 2019 7:21 am
by straightlight
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

Re: Add attribute information anywhere on product page

Posted: Fri May 31, 2019 3:35 am
by D3MO
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