How to stop redirect on-click wishlist icon

My wishlist code:

<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** @var MagentoWishlistBlockCatalogProductProductListItemAddToWishlist $block */ ?> <?php if ($block->getWishlistHelper()->isAllow()) : ?> <a href="#" class="action towishlist" title="<?= $block->escapeHtmlAttr(__('Add to Wish List')) ?>" aria-label="<?= $block->escapeHtmlAttr(__('Add to Wish List')) ?>" data-post='<?= /* @noEscape */ $block->getAddToWishlistParams($block->getProduct()) ?>' data-action="add-to-wishlist" role="button"> <img class="whislist-icon product-id-<?php echo $block->getProduct()->getId();?>" src="<?php /* @escapeNotVerified */ echo $block->getViewFileUrl('images/whislist_icon.jpg'); ?>" /> <span><?= $block->escapeHtml(__('Add to Wish List')) ?></span> </a> <?php endif; ?> <?php $_objectManager = MagentoFrameworkAppObjectManager::getInstance(); $storeManager = $_objectManager->get('MagentoStoreModelStoreManagerInterface'); $currentStore = $storeManager->getStore(); $mediaUrl = $currentStore->getBaseUrl(MagentoFrameworkUrlInterface::URL_TYPE_MEDIA); $wishimage = $mediaUrl."after_added.jpg"; ?> <script> require(['jquery'], function($){ jQuery.ajax({ url: '<?php echo $this->getUrl('addtowish/index/wishlist') ?>', method: 'get', dataType: 'json', success: function(data) { var wislistAddesCheckData = data; var itemLenth = wislistAddesCheckData.items.length; for(i=0;i<itemLenth; i++){ var wislistAddedProductId = wislistAddesCheckData.items[i].product_id; $(".product-id-"+wislistAddedProductId).attr('src','<?php echo $wishimage ; ?>'); } } }); }); </script> 

Now, if click the wishlist icon its redirects to the wishlist landing page, how to stop that?

submitted by /u/aveeva7
[link] [comments]

How To Get Magento 2 Store Pickup For Under $90 to $150

Magento 2 Store Pickup provides an additional shipping technique that allows clients to collect their orders on their own right at the shop. This helps to decrease a third party’s potential shipping hazards and enhances shopping experience with a fresh selection of pickup.

Key Features

  • Configuration of multiple stores
  • Store pick up with the Store locator is included
  • Map clustering is automatic
  • On every product information page link to store is provided
  • Store can be searched instantly by area and distance

Overview

Reserarch in google and found store pickup extension I’m sharing with you extension provider name

Amasty

Mageplaza

MageAnts

If you found anymore please comment it

submitted by /u/DhirenMageAnts
[link] [comments]

How To Get Magento 2 Product Labels For Under $100

With promotions and discounts each shop conducts extra sales, the extension to Magento 2 Product labels is the perfect way to highlight and make your products more visual and appealing to your customer by using luminous pictures. This Magento 2 product labels extension is your online store’s cutting-edge marketing solution.

Key Features

  • Flexible label conditions
  • Edit labels and check them with a preview option
  • Displays several labels on one product
  • Design catchy labels with prepared shapes
  • Show distinct labels in multiple client organizations

Overview

The extension to custom product labels for magento 2 is an efficient extension that draws attention to clients and motives of buying behavior. Calling on sales labels designated for a particular promotion campaign will help shop owners increase their conversion rate and considerably increase their revenues. The product label module enables the administrator to rapidly and freely customize labels

submitted by /u/DhirenMageAnts
[link] [comments]

Magento 2 and Augmented Reality

Hi all,

Has anyone had experience implementing AR in Magento 2? I’ve got a case where a party is producing the 3d models. I can’t see to find a Magento 2 extension that will render these models on the website.

I’m a bit of a rookie when it comes to AR so would appreciate some guidance on how we can implement the models provided into an e-commerce experience with Magento 2.

I’ve seen a few cases studies on the Magento website, but they don’t mention the specifics of how and what they use to render the AR experience.

submitted by /u/Iamajediiiiii
[link] [comments]

Magento 2.4.2 seems to finally support large databases correctly

Just giving a heads up, I run a site with approx. 200K skus and many product attributes. I migrated from M1 to M2 about 6 months ago. the M1 worked fine, the M2, with all the redis, varnish, baler and elasticsuite tweaks under the sun, still didn’t deliver what I’d call suitable uncached page load speed. And the backend always sucked.

It seems like with this latest release they finally fixed large database problems. For what it’s worth. Just letting you all know, it looks like theres finally a light at the end of the tunnel.

submitted by /u/fishfan2099
[link] [comments]

Magento Development Trends in 2021

Magento is one of the most popular e-commerce development platforms with out-of-the-box features. It is surely going to be the next big thing of e-commerce in 2021 if you’re looking to build a Magento-based site because many exciting Magento development trends are coming your way.

Here are some Magento e-commerce development trends in 2021 that will give you an edge in the market.

  • Headless Commerce
  • Voice Commerce
  • Social Commerce
  • B2B Next-Gen E-Commerce
  • Chatbot Invasion
  • AR/VR E-Commerce
  • AI and ML in E-Commerce
  • Faultless Omnichannel Experiences
  • Responsive Micro Interactions

The realm of online shopping is realizing new heights. These Magento development trends are all set to make their way in 2021. So which one are you going to choose first?

submitted by /u/HTMLPanda_
[link] [comments]

Q: How does inventory on bundle products work? (Stock?)

Hi Guys.

Okay, so i have a question for inventory management of bundle-products – more specifically the “stock status” – “in stock” or “out of stock” – based on stock status on its added simple products.

  1. Are the bundle product’s stock status depended on each simple-product added to it?
    E.g. A bundle product is set to “out of stock” if any of the simple-product has QTY < 0?
  2. If 1 is true, which extention do you know who can set different stock statusses based on each of these simple-products?
    E.g.

    1. If “simple product A” is out of stock == Delivery time 8 weeks
    2. If simple product B is out of stock == Delivery time 6 weeks
    3. If both A and B is out of stock == 8 weeks (longest time)
  3. I’m really interested in hearing how you keep track of your bundle products – so please share all your experience with it .

submitted by /u/goingnutz2
[link] [comments]

How customizable is Magento?

Hi experts! I’m trying to decide if Magento should be used as my platform for e-commerce and I’m still relative new to it so was wondering if you could tell me some of the possibilities given my use case.

Use case 1 – Membership:

Users in my shop will be nudged and encouraged to get a membership to unlock wholesale prices. If they’re not members, they will still be able to shop but at retail prices so I need to be able to always display both prices and make calculations based on it (e.g. checkout value, savings value etc).

Use case 2 – Custom Filter based not on Product Category by what we call “Diet”:

Regular e-commerce stores allow you to filter based in categories, however, on top of categories we have other attributes liked to the food that we would like to filter on (e.g. organic, gluten free, etc)

Use case 3 – Pre-packed boxes:

We have a deal whereby users can create a box of X predefined items and get a further 10%. Users can Select those items into a “pre-packed box” and add that to the cart whereby if members they unlock the additional 10%.

Requirement 0:

Use of React as my front end

Requirement 1:

Use of multiple analytics services such as Google analytics, hotjar and matomo

Requirement 2:

Use of Search API such as Algolia

Requirement 3:

Use of ERP such as Dynamics

Requirement 4:

Use of ML such as AWS Personalize

Am I able to create all of this with Magento in a way that is relatively easy, not to hacky and that is maintainable?

Thanks!

submitted by /u/the_travelo_
[link] [comments]