• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #18529 - mobile version error Urgent

on a category page the button to add to cart (add-to-cart big-btn user-valid valid) doesn’t work properly
It adds the product to the cart (but without the attributes)
So if i add a blue shorts XL size it adds a shorts but not XL and not blue color
Even in the orders it doesn’t fill up,
also on the order details it doesn’t show the ean13 number.

but if I add the product from the product page it works well.

Kind Regards

Attachments:

error-mobile.PNG (282.2 KiB)

Comments

Dani de la Torre 03 Jul 2020, 13:15

be aware that i change the ‘product_miniature.tpl’

from
<button type=”submit” class=”add-to-cart big-btn”>{l s=’Add to cart’ d=’Shop.Theme.Amp’}</button>

to

<a href="{literal}{{amp_link}}{/literal}" title="{literal}{{name}}{/literal}">
    <button type="button" class="add-to-cart big-btn">{l s='Add to cart' d='Shop.Theme.Amp'}</button>
    <!-- <button type="submit" class="add-to-cart big-btn">{l s='Add to cart' d='Shop.Theme.Amp'}</button>-->
   </a>

to force the customer to chose color and size

Fred 06 Jul 2020, 10:38

Sorry for the delay.
I’m not able to login to your back office

Hay un error.
El empleado no existe o la contraseña introducida es incorrecta.
Dani de la Torre 07 Jul 2020, 07:41

El usuario existe, es correcto y esta activado.
igualmente he vuelto a poner la contraseña 12345asdfg

The user exist, and I reset the password again to 12345asdfg

Could you please try again

Fred 07 Jul 2020, 08:48

I just checked out your product settings and tried to add a product to cart https://take.ms/bhe18 as you can see the product with default combinations has been added to cart. Then I changed the color and added it to the cart and it also works fine

Dani de la Torre 07 Jul 2020, 10:19

But did you change ‘product_miniature.tpl’

from

<a href=”{literal}amp_link{/literal}” title=”{literal}name{/literal}”>

  <button type="button" class="add-to-cart big-btn">{l s='Add to cart' d='Shop.Theme.Amp'}</button>
  <!-- <button type="submit" class="add-to-cart big-btn">{l s='Add to cart' d='Shop.Theme.Amp'}</button>-->
 </a>

to

 <button type="submit" class="add-to-cart big-btn">{l s='Add to cart' d='Shop.Theme.Amp'}</button>

???
I put this code to solve it temporally

Fred 07 Jul 2020, 10:23

I didn’t touch any file on your server

Dani de la Torre 07 Jul 2020, 10:27

could you tell me your ip
to let you see the original version only to you

Fred 07 Jul 2020, 10:28

31.182.158.35

Dani de la Torre 07 Jul 2020, 10:52

Try it now

Fred 07 Jul 2020, 11:23

But what I have to do? As O wrote you before I don’t see the issue
I just checked out your product settings and tried to add a product to cart https://take.ms/bhe18 as you can see the product with default combinations has been added to cart. Then I changed the color and added it to the cart and it also works fine

Dani de la Torre 07 Jul 2020, 12:15

Step 1

Step 2

  • Click on ‘Añadir a la bolsa de compra’

Step 3

  • verify the cart
Fred 07 Jul 2020, 15:37

it’s still works correctly for me https://take.ms/yCAHk