Post Your Products Articles to more than 15 platforms




Link image:

magento2 – Plugin beforeGetUrl to modifiy links for Catalog Products

I have grouped products “containing” simple products. I have had to make the simple products visible but while I am ok for them to appear in certain lists, I want the link to go to the parent page not to the (very incomplete) simple product page.

I started by creating a helper with a new URL function and overriding the various templates to use it , but there are a lot of templates and it will be a pain to maintain.

It seems to always be $product->getUrlModel()->getUrl($product, $additional) behind all the getProductUrl so CatalogModelProductUrl I should be able to create a “before” plugin for getUrl that swaps to the parent when it detects particular conditions.

But it seems my plugin is not happening – even when I just make it log a line then pass on things unchanged. So either I am missing an understanding or it is another class that cannot be modified?

In app/code/Mystuff/FixGrouped/etc/frontend/di.xml

<type name="CatalogModelProductUrl">
    <plugin sortOrder="1" name="FixGroupedPluginModelProductUrl" 
     type="MystuffFixGroupedPluginModelProductUrl" disabled="false" />

and in app/code/Mystuff/FixGrouped/Plugin/Model/Product/Url.php

namespace MystuffFixGroupedPluginModelProduct;

use MagentoCatalogModelProductUrl;

class Url 
       public function beforeGetUrl(MagentoCatalogModelProductUrl $subject, MagentoCatalogModelProduct $product, array $params)
          $logger = MagentoFrameworkAppObjectManager::getInstance()->get(PsrLogLoggerInterface::class);
          $logger->info('Mystuff plugin beforeGetUrl active');
          // here it would swap for parent if require
          return ($product, $params);


So it changes nothing but puts a line in the log. No lines ever appear in the log.

So what am I missing?
– i’ve not written it right?
– getUrl is not called in a context that works with plugin?

I couldnt find any beforeGetUrl on this class out there so it is not reassuring

AdPlexity Ecommerce – Find The Top Winning Products Here

Hello, DigitalPoint community.

Today AdPlexity team is happy to join (name of the forum). My name is Dmitry, and I’m more than happy to represent AdPlexity Ecommerce here.

Let’s face it guys, now is a thrilling time for e-commerce, but it’s also hard to keep up with the competition and innovation. Since a vast amount of excellent products appears every day and it’s getting harder to track down the ones that will bring you profits instead of sending you to the bottomless pit of loss.

For this matter, AdPlexity has a great solution – an intelligence tool for competitive analysis – AdPlexity Ecommerce.

But let me step back and tell you a bit about AdPlexity in general.

AdPlexity is a leading suite of ad intelligence tools that have long been on the market. Providing all the nitty-gritty details about the winning ad campaigns, AdPlexity brought many affiliates to success, getting them a head start over their competitors.

AdPlexity covers almost all types of traffic, and e-commerce is one of them.

AdPlexity Ecommerce is the most potent winning product research tool for eCommerce analytics and affiliate marketing, trusted by thousands of clients (including top affiliates and companies) worldwide. It’s an absolute game-changer that gives you everything you need to understand today’s marketing trends and find the hottest products for your dropshipping or online sales business.

With one of the biggest databases (over 300 million products and 200 thousand Shopify stores), you can jump straight onto new trending products before your competitors do.

Can’t believe it? Then check it out using an exclusive lifetime discount!

Enter “apdm50” and save a fortune now!

Claim my discount!

P.S. If you have any questions or doubts I’ll be glad to answer your questions. Or you can book a free demo call, and I’ll show you all the secrets of AdPlexity Ecommerce. My email is


world of darkness – Do “editions” of White Wolf products correspond?

White Wolf has published a variety of product lines. Each product line has multiple editions. Do the editions of various games line up intuitively?

For example, I have a smattering of books from both Werewolf: The Apocalypse and Wraith: The Oblivion. Both games have a first edition, second edition, and 20th anniversary edition (Werewolf additionally has a Revised edition that does not seem to correspond to anything in Wraith).

In other games with which I’m familiar the editions would line up nicely. For example, in Dungeons and Dragons there are Ravenloft books for 2nd edition D&D and 5th edition D&D. There are also Planescape books for 2nd edition. The Planescape 2e and Ravonloft 2e books are in some sense “related” because they refer to the same rule set.

Is this true for White Wolf products? I’m confused because the periods in which they are published don’t overlap. Werewolf 1e was published between 1992 – 1993, while Wraith 1e was published in 1994 – 1995. Second edition Werewolf started in 1994, but second edition Wraith started in 1996.

How to add position to products in product listing comes from search results in magento 1?

I am trying to add a position attribute in product object in
product listing which comes from search results.

Anybody have any idea how do achieve this ?

e commerce – Selecting products for product comparison: Mobile UX?

Here is an example from Walgreens. You could expand this approach and offer an expandable drawer for users to see the items they have currently added to the comparison list, before opening the comparison page.

An additional consideration for mobile is the treatment of the comparison table in limited screen real estate. There are a few articles regarding this, here is one.

enter image description here

Magento 2.3 – Display text Instead of 0 for 0 Price products

For my Magento 2.3.3 store lot of products ASK Price condition, How efficiently achieve this case, Shall I use preference or module?

Marketplace Buy and Sell Digital Products –

Marketplace Buy and Sell Digital Products –

Hello! Register on our Marketplace, sell and buy digital goods!

New products every day!

magento2 – Products not showing in categories after migrating data from M1 to M2

Stack Exchange Network

Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

collection – How do I get all products in a category?

Consider my ‘shorts’ category below. It has 149 products in. 13 are configurable, the rest are simple products that have a visibility of ‘Not visible individually’.

Category listing in admin

I have the following:

$category = $this->categoryRepositoryFactory->create();
$category = $category->get(20);

$collection = $this->productCollectionFactory->create();
$collection->addAttributeToFilter('visibility', (1,2,3,4));

This only retrieves the 13 records with the Configurable products with visibility of ‘Catalog, Search’.

(It also doesn’t order by position, but that’s another matter)

I want to get a list of ALL of the products in the category – Not visible included.

I have tried reindexing, cache etc, but no luck.