When I add custom menu items to the top menu (where product categories are placed) they are not set as active or are always active, depending on logic I implement for checking active state, no matter the URL. The actual issue is caching, I guess. So, how to set menu […]
Magento2
Hi Guys, Thanks in advance for helping to solve this issue. Currently, I have upgraded Magento from 2.3.5p1 to 2.4.6p4. Now, all pages are working well except for the “checkout_index_index” page. I’m not sure why this particular checkout page is not accepting the customer session. It seems that the API […]
How do I create a parent product with multiple variants e.g. Colour: Oak, Black Oak. Then have both show as individual products on the category page but when clicked, they direct to the parent page with the variant selected. E.g. the category page were to have: Large Black Oak Extendable […]
When I click on the + – sign on the minicart, it increases or decrease the quantity correctly. I just want add loader, When customer click on the + or – sign it shows the loader then update the quantity My template app/design/frontend/vednor/themes/Magento_Checkout/web/template/minicart/item/default.html <li class="item product-item cart-item d-flex align-items-center" data-role="product-item"> […]
Magento 2.4.6 Is there a way to read the value of a custom text field attribute value stored in the “All Store Views” scope? Currently I am using $product->getMyAttribute(); which returns me the value for the product from the store view I am in on frontend. But in my case […]
Cron jobs seem to halt to this error in cron.log: main.ERROR: Cron Job analytics_subscribe has an error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (DATABASENAME.oauth_token, CONSTRAINT OAUTH_TOKEN_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID FOREIGN KEY (consumer_id) REFERENCES oauth_consumer (entity_id) ON DELETE CASCADE), query was: INSERT INTO […]
I am currently getting the; Autoload error Vendor autoload is not found. Please run ‘composer install’ under application root directory. Error when trying to load the frontend of my website (fresh install), however I have composer installed within the root directory, an autoload.php exists in /vendor along with all the […]
I have multiple website on the server and I am trying to configure Varnish cache for them. I have bypassed other sites as for now I am focusing only on the magento site i.e. magento.site. However, if I open https://www.magento.site then it doesn’t respond but upon opening it with the […]