Comments (3)
Hi,
It's pretty easy to modify the module for other hooks, you will have to add the hooks like this:
in the file modules/is_shoppingcart/config/common.yml, add the following:
oksydan.is_shoppingcart.hook.display_nav2:
class: Oksydan\IsShoppingcart\Hook\DisplayTop
parent: 'oksydan.is_shoppingcart.hook.abstract_display_hook'
public: true
(it basically tells it to use the same code from DisplayTop hook for display_nav2 hook.)
After applying the changes, you will probably need to uninstall and reinstall the module, or switch to classical theme and then back to Falcon and clear cache from Back Office-> Advanced parameters -> Performance -> Clear Cache button.
Happy coding!
from falcon.
Hi @ludimassa,
it's not a bug. You can read is_shoppingcart module code. You have to create a new hook service inside module. You can tak a look here https://github.com/Oksydan/is_shoppingcart/blob/main/src/Hook/DisplayTop.php https://github.com/Oksydan/is_shoppingcart/blob/main/config/common.yml#L29-L32
Since it isn't a bug. I am going to close this issue. Feel free to open new one.
from falcon.
Thanks a lot
from falcon.
Related Issues (20)
- π [BUG] - [FIX] into ps_languageselector.tpl and ps_currencyselector.tpl it is necessary to change aria-labelledby to aria-label to avoid an accessibility error HOT 2
- π [REQUEST] - is_searchbar add a field to its configuration page to choose the number of items to show in the window HOT 2
- [IMPROVEMENT] - sort-orders.tpl and per-page.tpl it is necessary to add aria-label to their select tag HOT 1
- π [BUG] - is_searchbar javascript error - TypeError: Cannot read properties of undefined (reading 'update') HOT 7
- π [BUG] - Some fix to do for the Product microdata HOT 6
- π [BUG] - Blank page when webp is enabled in is_themecore with a website on netsons - DOMDocument::loadHTML(): Memory allocation failed in Entity, line: 8 in is_themecore/src/Core/Webp/WebpPictureGenerator.php on line 19 HOT 10
- π [BUG] - [FIX] is_searchbar small class fix HOT 2
- π [BUG] - is_imageslider some problems HOT 8
- π [BUG] - [FIX] fixed a problem in product-cover-thumbnails.tpl to avoid contant duplications of displayAfterProductThumbs HOT 2
- π [BUG] - Found a strange problem in the translations of is_shoppingcart HOT 1
- π [BUG] - [FIX] add Discount voice to modal-success.tpl of is_shoppingcart
- WHY ?ΒΏMade for developers, and if you are a merchant, you shouldn't download it HOT 1
- Quantity of a product cannot be modified when you try to make a return HOT 6
- π [BUG] - is_themecore Attempted to call function "escapeshellarg" from namespace "WebPConvert\Convert\Converters". HOT 4
- π [BUG] - [FIX] missing js-product-customization class from product-customization.tpl HOT 1
- π [BUG] - The changes in the Htaccess file, made by is_themecore, delete any changes made by other modules or customizations HOT 3
- π [BUG] - is_themecore hookActionOutputHTMLBefore broken html output HOT 2
- Icons are not displayed after installation. HOT 7
- π [BUG] - <Customize Product with text and File> HOT 7
- π [REQUEST] - Canonical Url is missing from the homepage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from falcon.