Forums / General / Exponential shop module

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Exponential shop module

Author Message

philumo luan

Monday 24 September 2007 12:26:35 am

hello everybbody

i create a shop online . and everything is normal until i create hot product and this is my code on the top of page and this code separate with others products

this is code:

{def $my_node=fetch( content, node, hash( node_id, $node.node_id) )}

{def $hotinfo=fetch( content, node, hash( node_id, $my_node.data_map.hot_id.content) )}
<div id="article-jadm-contain">

<div id="article-jadm-pic">
{section show=$hotinfor.data_map.image.has_content}
<div class="attribute-image">

{attribute_view_gui image_class=articlethumbnail href=$hotinfo.url_alias|ezurl attribute=$hotinfo.data_map.image}
</div>
{/section}
</div>


<div id="article-jadm-info">
<div id="article-jadm-info-top">
<a href={$node.url_alias|ezurl}>{$hotinfo.data_map.title.content|wash}</a>
</div>
<div id="article-jadm-price">
{attribute_view_gui attribute=$hotinfo.data_map.price}
</div>


<div id="article-jadm-info-center">
{section show=$hotinfo.data_map.intro.content.is_empty|not}
<div class="attribute-short">
{attribute_view_gui attribute=$hotinfo.data_map.intro}
</div>
{/section}
</div>


{section show=is_unset( $versionview_mode )}
<div id="article-jadm-info-bottom">

<form method="post" action={"content/action"|ezurl}>
<input type="submit" class="defaultbutton" name="ActionAddToBasket" value="{"Add to basket"|i18n("design/ezwebin")}" />
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
<input type="hidden" name="ViewMode" value="full" />
</form>

</div>
{/section}

</div>

</div>
{undef}

{undef}

and when i click on the button i get the error:

" Ce n'est pas un produit

L'objet demandé n'est pas un produit et ne peut donc pas être utilisé par le module de boutique.

"

pls help me and i have other topic about shop currency .

thanks evrery helping

Christophe Condomines

Monday 24 September 2007 1:00:17 am

In the <form> you are using $node when it seems that your product is set into $hotinfo variable. Just change $node by $hotinfo in the form part of your template and that should work.

Microblau SL
http://www.microblau.net

philumo luan

Monday 24 September 2007 1:52:50 am

thanks you

the problem is solved

by the way can you read the topic : currency and give me some ide.

thanks so much