How to override addtocart.php ? - Forum | JoomShaper
Staff replied EasyStore

How to override addtocart.php ?

Asked by Pedro 1 year ago Last activity 1 year ago

Hello, as in the title, how can I override the /components/com_easystore/layouts/addtocart.php file?
Tried /templates/yootheme/html/layouts/com_easystore/addtocart.php but didn't worked.

2 replies

Asfakur Rahman Saikat Staff

Hi Pedro,

I’ve tested this with Helix Ultimate, and it works pretty well.

Here’s what I did:

  1. Created an override layout as shown here: screenshot
  2. Edited the override file located at:
    templates/shaper_helixultimate/html/layouts/com_easystore/cart/mini.php

The solution works perfectly with Helix Ultimate.

I’m not entirely sure how it will behave with Yootheme, though.

Feel free to reach out if you have any further questions!

Best regards.

Pedro Asked this

I don't use Helix, only works with Helix?! Joomla overrides should be independent

Asfakur Rahman Saikat Staff

Hi Pedro,

Sorry for the inconvenience.

The overrides for EasyStore are temporarily disabled for some reason, but rest assured, this will be fixed soon.

Best regards

Log in to reply.