[Skip to main content](#vessel-content)

#   Question about module

##

- **[Santiago](/forum/user/35379-santiago "View Santiago's Profile")**
- [![Santiago's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35379-santiago "View Santiago's Profile") Topic Author
- [ Offline](/forum/user/35379-santiago)

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 4 months ago [\#204396](#204396) by [Santiago](/forum/user/35379-santiago "View Santiago's Profile")  *[Question](/forum/26-product-category-display/877450-question-about-module#204396 "-- HikaShop version -- : 3.0.4 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4  El cliente quiere colocar el carrito de compras dentro de un producto aca:   prntscr.com/7fgq0q  Y lo logré colocar ejecutando ese módulo dentro del producto por medio de: &quot;components/com&#95;hikashop/views/product/tmpl/show&#95;default.php&quot; agregué la siguiente lineas:   prntscr.com/7fgtjq  Así estoy ejecutando el módulo dentro del HTML del componente del producto, pero sucede un problema, es el siguiente:  1- Cuando ingreso a un producto y lo añadó al carrito de compras:   prntscr.com/7fgud7  2- Si ese mismo producto selecciono una talla diferente, debería de cambiar la referencia y al agregarse al carrito debería de agregarse como un producto &quot;diferente&quot; y no sucede, pasa esto:   prntscr.com/7fgv5m  Agrega el producto como si no hubiese cambiado el tallaje. Esto sucede por ejecutar el módulo dentro del html del componente del producto.  Si desactivo el módulo que está dentro del producto de Hikashop, ya funciona bien:  1-   prntscr.com/7fgvtt  2-   prntscr.com/7fgw5m  Ya si cambió la referencia arriba, incluso si voy al carrito de compras están los 2 productos en sus diferentes tallajes:  3-   prntscr.com/7fgx7f  Este módulo es posible ejecutarlo donde lo estoy ejecutando pero que funcione el cambio de referencia como si no estuviera activo?  ==================================  The customer wants to place the cart in a product here:   prntscr.com/7fgq0q  And I managed to put running this module within the product through &quot;components / com&#95;hikashop / views / product / tmpl / show&#95;default.php&quot; I added the following lines:   prntscr.com/7fgtjq  So I am running the module into the HTML component of the product, but it happens a problem, is as follows:  1- When entering a product and add to shopping cart:   prntscr.com/7fgud7  2. If the same product select a different size, change the reference should and should add to cart added as a &quot;different&quot; and does not happen, product passes this: Make the product as   prntscr.com/7fgv5m  if it had not changed size. This happens to run the module into the html of product component.  If I turn off the module that is inside the product HikaShop, and works well:  1-   prntscr.com/7fgvtt  2-   prntscr.com/7fgw5m  And if you changed the above reference, even if I go to shopping cart are 2 products in different carvings:  3-   prntscr.com/7fgx7f  This module can run where I'm running but run the reference exchange as if he was not active?")* was created by *[Santiago](/forum/user/35379-santiago "View Santiago's Profile")*

-- HikaShop version -- : 3.0.4
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4

El cliente quiere colocar el carrito de compras dentro de un producto aca: [ prntscr.com/7fgq0q](http://prntscr.com/7fgq0q)

Y lo logré colocar ejecutando ese módulo dentro del producto por medio de: "components/com_hikashop/views/product/tmpl/show_default.php" agregué la siguiente lineas: [ prntscr.com/7fgtjq](http://prntscr.com/7fgtjq)

Así estoy ejecutando el módulo dentro del HTML del componente del producto, pero sucede un problema, es el siguiente:

1- Cuando ingreso a un producto y lo añadó al carrito de compras: [ prntscr.com/7fgud7](http://prntscr.com/7fgud7)

2- Si ese mismo producto selecciono una talla diferente, debería de cambiar la referencia y al agregarse al carrito debería de agregarse como un producto "diferente" y no sucede, pasa esto: [ prntscr.com/7fgv5m](http://prntscr.com/7fgv5m) Agrega el producto como si no hubiese cambiado el tallaje. Esto sucede por ejecutar el módulo dentro del html del componente del producto.

Si desactivo el módulo que está dentro del producto de Hikashop, ya funciona bien:

1- [ prntscr.com/7fgvtt](http://prntscr.com/7fgvtt)

2- [ prntscr.com/7fgw5m](http://prntscr.com/7fgw5m)

Ya si cambió la referencia arriba, incluso si voy al carrito de compras están los 2 productos en sus diferentes tallajes:

3- [ prntscr.com/7fgx7f](http://prntscr.com/7fgx7f)

Este módulo es posible ejecutarlo donde lo estoy ejecutando pero que funcione el cambio de referencia como si no estuviera activo?

==================================

The customer wants to place the cart in a product here: [ prntscr.com/7fgq0q](http://prntscr.com/7fgq0q)

And I managed to put running this module within the product through "components / com_hikashop / views / product / tmpl / show_default.php" I added the following lines: [ prntscr.com/7fgtjq](http://prntscr.com/7fgtjq)

So I am running the module into the HTML component of the product, but it happens a problem, is as follows:

1- When entering a product and add to shopping cart: [ prntscr.com/7fgud7](http://prntscr.com/7fgud7)

2. If the same product select a different size, change the reference should and should add to cart added as a "different" and does not happen, product passes this: Make the product as [ prntscr.com/7fgv5m](http://prntscr.com/7fgv5m) if it had not changed size. This happens to run the module into the html of product component.

If I turn off the module that is inside the product HikaShop, and works well:

1- [ prntscr.com/7fgvtt](http://prntscr.com/7fgvtt)

2- [ prntscr.com/7fgw5m](http://prntscr.com/7fgw5m)

And if you changed the above reference, even if I go to shopping cart are 2 products in different carvings:

3- [ prntscr.com/7fgx7f](http://prntscr.com/7fgx7f)

This module can run where I'm running but run the reference exchange as if he was not active?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc0NTAtcXVlc3Rpb24tYWJvdXQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 4 months ago [\#204421](#204421) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Question](/forum/26-product-category-display/877450-question-about-module#204421 "-- HikaShop version -- : 3.0.4 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4  El cliente quiere colocar el carrito de compras dentro de un producto aca:   prntscr.com/7fgq0q  Y lo logré colocar ejecutando ese módulo dentro del producto por medio de: &quot;components/com&#95;hikashop/views/product/tmpl/show&#95;default.php&quot; agregué la siguiente lineas:   prntscr.com/7fgtjq  Así estoy ejecutando el módulo dentro del HTML del componente del producto, pero sucede un problema, es el siguiente:  1- Cuando ingreso a un producto y lo añadó al carrito de compras:   prntscr.com/7fgud7  2- Si ese mismo producto selecciono una talla diferente, debería de cambiar la referencia y al agregarse al carrito debería de agregarse como un producto &quot;diferente&quot; y no sucede, pasa esto:   prntscr.com/7fgv5m  Agrega el producto como si no hubiese cambiado el tallaje. Esto sucede por ejecutar el módulo dentro del html del componente del producto.  Si desactivo el módulo que está dentro del producto de Hikashop, ya funciona bien:  1-   prntscr.com/7fgvtt  2-   prntscr.com/7fgw5m  Ya si cambió la referencia arriba, incluso si voy al carrito de compras están los 2 productos en sus diferentes tallajes:  3-   prntscr.com/7fgx7f  Este módulo es posible ejecutarlo donde lo estoy ejecutando pero que funcione el cambio de referencia como si no estuviera activo?  ==================================  The customer wants to place the cart in a product here:   prntscr.com/7fgq0q  And I managed to put running this module within the product through &quot;components / com&#95;hikashop / views / product / tmpl / show&#95;default.php&quot; I added the following lines:   prntscr.com/7fgtjq  So I am running the module into the HTML component of the product, but it happens a problem, is as follows:  1- When entering a product and add to shopping cart:   prntscr.com/7fgud7  2. If the same product select a different size, change the reference should and should add to cart added as a &quot;different&quot; and does not happen, product passes this: Make the product as   prntscr.com/7fgv5m  if it had not changed size. This happens to run the module into the html of product component.  If I turn off the module that is inside the product HikaShop, and works well:  1-   prntscr.com/7fgvtt  2-   prntscr.com/7fgw5m  And if you changed the above reference, even if I go to shopping cart are 2 products in different carvings:  3-   prntscr.com/7fgx7f  This module can run where I'm running but run the reference exchange as if he was not active?")*

Hi,

That's normal. The cart module has its own form and the product page two. And you're not supposed to have a form inside a form in HTML. If you do, you'll have troubles.
So you shouldn't do your customization of the layout like that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc0NTAtcXVlc3Rpb24tYWJvdXQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.129 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
