I’m using the module Amasty’s customer Attributes to create custom customer attributes, I like to get custom attribute displayed value but i got the option value. I like to get the value in data-title attribute I tried this if ($customAttribute = $customer->getCustomAttribute('custom_value')){ $regrouper = $customAttribute->getValue(); var_dump(regrouper);exit; //it returns 615 instead […]
Magento2
How to setup bento survey in Magento 2 ? Need to add below in head tag. <bento-survey-form id="old-glade-12345" type="popup" delay="5"></bento-survey-form> I have tried using requirejs-config.js and also adding below script. <script src="https://unpkg.com/jquery"></script> <script src="https://unpkg.com/survey-jquery@1.9.13/survey.jquery.min.js"></script> requirejs-config.js var config = { paths: { Survey: 'V4U_BentoSurvey/js/survey.jquery.min' }, shim: { Survey: { deps: ['jquery'] […]
We had 3 stores in Magento 1.9.4. I migrated 2 of them to Magento 2.4.2-p1 using the Magento Migration tool, installed the Smartwave Porto theme and the Amasty extensions and now we have many many problems! Here is what I would like to do: make a fresh install of Magento […]
I need to sort a collection by an attribute, taking into account only the numbers and decimal places of this attribute, ignoring the letters. I don’t think there is anyway to use addAttributeToSort here. On version Magento 2.3. The collection is of catalog_product_entity. The attribute I need to sort by […]
We have a module that gets and displays a table values in a custom admin grid. The module works fine on Magento 2.2.6. after I migrated the module to Magento 2.4. the admin grid is empty although the db table has records. the code is the same and I don’t […]
About to migrate. I get this issue for Admins. I need to disable this so my team (18 people) can choose their own passwords. Can I disable this ? If only for an hour or so.
We have a connection with a third party shipping company that sends an api call to mark the item as shipped in Magento when they are marked as shipped in the shipping company admin. After a Magento 2.3.5 to 2.3.7-p2 and third party modules upgrade the api call is failing […]
M2.4.3-p1. Trying to use db_schema.xml as that appears to be the way forward. setup:upgrade is not adding my tables. setup:db-declaration:generate-whitelist is not generating the whitelist. Basically nothing is happening and no errors are being shown/logged. I understand previous versions of Magento would silently fail but apparently this was addressed in […]
I have a redirect in my store that shows a different store view based on the client’s location. It reads the header via Fastly and redirects the customer to a different store view using every time the same URL. When there are many customers accessing the store the cache is […]