Questions tagged [catalog]

It should be used for questions regarding the catalog module.

Filter by
Sorted by
Tagged with
1
vote
3answers
190 views

Magento 2 - How Can I Update Catalog Product Price Programmatically in Frontend and Add Product to Cart With New Price?

I create one Module and make a custom form which is display in the catalog product view page. when the customer change option from dropdown then the product price will change and also that updated ...
1
vote
0answers
76 views

How to redirect to 403 custom error page in magento2 from controller

I am trying to redirect to custom 403 error page. I have created plugin for controller as follow: etc\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
1answer
96 views

My standard search and frontend categories are broken!

The Magento multi-store site I was building for my work was very nearly complete when I went to search for a product and it didn't work. Not only did it not work but the footer disappeared on the ...
0
votes
0answers
17 views

How to works catalog search?

When I do some searches in the catalog using global search, Magento shows me some weird results of products not related. For example, if I search for "500" string in global search, it shows prodcuts ...
0
votes
1answer
527 views

Magento 2 Catalog price rule on special price

Currently Magento is using the special price if it is lower than the applied catalog price rule. If the catalog price rule makes the product cheaper than the special price, then the catalog price rule ...
1
vote
0answers
15 views

Magento : How to set product type as 'Simple product' when adding new product? OR how to change the product type from virtual to simple?

Currently, when I am adding new product its product_type is set to 'Virtual'. I am adding simple product as shown in below image. Why this is happening while adding the product of type simple.
2
votes
1answer
172 views

Magento 2 Add discount on bundle product on add to cart time

I have to add some discount programmatically on the time of bundle product add to cart. So far I have developed the catalog product plugin Magento\Catalog\Model\Product function afterGetFinalPrice ...
0
votes
0answers
148 views

Changing the style of <span class=“price”></span> on catalog pages

I have been having a hell of a time trying to achieve this price style on the frontend of my Magento 2 site. This was achieved by splitting up getDisplayValue() into an array from magento/...
1
vote
1answer
94 views

magento 2 Deepest Category product list page gives Error 500. Which files to inspect?

The site I'm working on the lowest category page (suppose to be list view) give the error 500. I'm not quite remember file I edited. search result also return the same error. Which files should I ...
0
votes
0answers
23 views

Extend Catalog Search Indexer

I would like to extend catalog search indexing by adding some own values to the fulltext index. I am researching the magento catalog indexer a while now and do not find a good entry point to change ...
1
vote
0answers
82 views

Magento 2 catalog search for SKU with dot not working

our SKU's have dot's like: "120.00085" If I search this string I get all products with "120.XXXX". But the product with exact this SKU is not at the first position in the results. Is there any ...
2
votes
2answers
1k views

Magento 2 product changes not reflecting on frontend after updating from admin

I update catalog price from admin, but the changes is not reflecting on frontend. This needs to deploy static content and cache flush every-time, I change something in admin. Is there any solution ...
1
vote
0answers
572 views

Something went wrong with processing the default view and we have restored the filter to its original state

I got this error when I go to Catalog > Products and select a filter. I'm on Magento 2.2.6. Magento says this bug is supposed to be fixed on 2.2.6 but clearly it's not.And unfortunately I do not ...
1
vote
0answers
84 views

How to remove watermark from image from the product grid in magento2?

I have uploaded one product using csv with base,small and thumbnail images. I am not getting watermark images for base and small but for thumbnail image which are used in product grid. So how to ...
0
votes
0answers
11 views

Trouble with 'Manage Products'

When we try to go to next page in Catalog > Manage Products the screen just freezes on please wait. Any tips would be very helpful. Thanks
0
votes
1answer
28 views

Magento 2 - Edit Price/Quantity from Catalog > Products main view

Is it possible to edit information for products (such as the quantity or price) on the overview page? For instance, I have 15 products pulled up, and need to add stock to all of them (but different ...
2
votes
1answer
125 views

1.9.2 catalog price rule - Cron not working.. Discounts disappear

Applied Catalog price rules but they are being removed within 24 hr period. So far I have; *added end dates to rules *re-indexed *flushed cache *change time zone code (as per other posts suggestions) ...
0
votes
1answer
76 views

Solved: Magento 2 move productpage title around div

I want to move the product page title around a container div. I added the following to my catalog_product_view.xml file, but that does not add the div with class container. What am I missing? <...
1
vote
4answers
4k views

How To Get Current Product ID in Model

Im trying to retrieve the Current Product ID inside the Tax-model-Calculation.php (code in -> https://github.com/adam-paterson/magento-ce-1.9.0.1/blob/master/app/code/core/Mage/Tax/Model/Calculation....
0
votes
2answers
1k views

Change product url when changing product name

Are there any extensions or settings that can change the product url when you change the product name. Before example: Product name: Product 1 Product url: product-1 After example: Product name: ...
0
votes
0answers
163 views

How to resize product view page image on different devices in magento 2

I'm trying to resize product view page image in mobile view. it's very small and not visible I tried resizing by adding new size in <Theme Root>/etc/view.xml and php bin/magento catalog:images:...
0
votes
0answers
38 views

How to add image roles store-wise to already added image programmatically

I am running a website with 2 store views, and 1 website. I have products where images are already added. And image roles are assigned on "All Store Views", but roles have been deleted by the admin ...
1
vote
1answer
335 views

Magento 2 Override Gallery.php file

I would like to override /vendor/magento/module-catalog/Block/Product/View/Gallery.php file getGalleryImagesJson function In result I would like to get - public function getGalleryImagesJson() { ...
0
votes
1answer
86 views

Magento 2 - Enabling Flat Catalog causes SQL error. Reading from “report” tables

When I enable the flat catalog in my Magento 2.2.5 installation, I get an error. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.name' in 'field list', query was: SELECT COUNT(...
1
vote
0answers
82 views

Remove Auto-generated URL Rewrites

I've been having this issue with auto-generated URLs. The catalog/* URLs keep auto-generating the red box are the URLs that auto-generate, the green box are the URLs that I want. How do I stop the red ...
1
vote
0answers
178 views

ACL Resources Access Customization and Admin form customization

I am new to magento so can somebody please help me out? I have created a new user (belonging to custom role group = vendor) who can login to admin panel and add their own products, for that i have ...
0
votes
0answers
40 views

EE 1.11 SOAP V2 catalogProductInfo additional_attributes

I am using SoapUI to test the SOAP V2 APIs. Currently working with products and need some help with the correct syntax to call all additional_attributes. Herein is what I am doing right now: magento-...
0
votes
0answers
86 views

How to implement “Uses Per Customer” in Catalog Rules?

How can I implement "Uses Per Customer" functionality (Same Like Cart Price Rules) in Catalog Rules? Say for example. If I enter 3 in Uses Per Customers. Catalog Price rule has to apply only 3 times ...
2
votes
1answer
1k views

Magento SEO implement rel=“prev” and rel=“next” meta tags

I'm attempting to improve SEO for my product catalog by implementing the <link rel='next' href='..'> and <link rel='prev' href='..'> head meta tags for catalog pages with several pages of ...
1
vote
0answers
21 views

Magento 2 - “url_key” Product Attribute, force as required and unique

Is it good practice to force the "url_key" product attribute to be both "required" and "unique" by default? update eav_attribute set is_required=1,is_unique=1 where attribute_code = "url_key"; As ...
0
votes
1answer
20 views

How to get Magento 2 product image on custom phtml by product id Without loading product collection

I need product image on custom phtml in magento 2. Product is collection is a array not object. I just want to product product_base_image , without loading product collection. I tried <?php ...
0
votes
1answer
26 views

Not showing newly added products in magento

I have import products through magmi, products is imported successfully, but the products are not showing in frontend, please help me.
0
votes
2answers
328 views

How to get product image by product Id in magento2

I am not able to get the absolute path of image by product id in magento2. Can anybody help me? I am able to get media path so far by directoryList class by doing this $this->directory->...
2
votes
2answers
3k views

How do you manage inventory for a grouped product?

Let's say that you sell tickets for an event, and you have the following constraints: A max of 40 tickets can be sold for a given event slot You have 5 different price tiers but you can accomodate ...
1
vote
2answers
2k views

issue in Mage::registry('current_category'), return only the same value for whole category pages

When its come to Mage::registry('current_category'); is a common question. After searching several pages,stack exchange and stack overflow i feel to post this question as i am unable to find a ...
0
votes
2answers
29 views

how to get productId in sign up or sign in page when full page cache on in magento2?

I want to redirect page if customer come from product page ->sign up page i want redirect them after sign up on product page. But i am not getting product id on that page if full page cache is on in ...
0
votes
0answers
31 views

Can we Create Product attributes with condition in magento 2

I'm having issues while creating product attribute with condition. I have two Options : Yes and No If any SKU Condition is yes then customer can order Quantity 3 else they can order 1 or more. For Ex....
3
votes
3answers
5k views

Magento 2 : How to Add quantity increment & decrements button on product details page

How to add increment(plus +) and decrements(minus -) qty button on product detail page?
3
votes
1answer
166 views

Magento 2 Catalog Rule Condtions

I am trying to implement Magento 2 catalog rule condtions in a custom module Ui Component form. Below is the field set: <htmlContent name="block_promo_catalog_edit_tab_conditions" sortOrder="20"&...
4
votes
1answer
243 views

Magento 2 How to remove default website checkbox checked while add new product?

Magento 2.2.5. I have set up a multi website and it is working fine. My problem is when admin create any new product Product in website field default website selection checkbox is checked by default....
0
votes
0answers
93 views

Magento 2 - How to get product custom option values in custom file?

I want to override custom options template file.I want to show static image with each option value. I just create a custom file in Catalog module but don't know how to achieve this task? app/design/...
0
votes
1answer
42 views

Staging environment to manage the catalog

I would like to be able to manage the catalog in a staging environment and make sure that in cron (or other way) the catalog (categories and products) synchronize from Staging to Production.
0
votes
0answers
592 views

Magento 2.2 Catalog Price Rule Wont Apply

I am using Magento 2.2. I have set Catalog Price Rule. I have saved and applied for all. I have cleared the cache. I have also Reindex all Magento 2 indexers using below commands: php bin/magento ...
0
votes
0answers
115 views

how to get custom attribute value for related products in product details page

I am overriding default related.phtml in custom theme Magento_Catalog but data is not showing properly.If Any One have idea please help me. <?php if ($currentProduct = $block->getProduct()) {...
10
votes
3answers
3k views

Magento2 Product Listing - Show product options

I'm working on a new Magento 2 theme at the moment. For this theme I want to show all product options (custom options and options form configurable product) in the product listing. This way the user ...
1
vote
1answer
212 views

magento 2 move product_list_toolbar after category.cms or category.view.container

I like to move the product_list_toolbar element after the category.cms or category.view.container, for that have tried the following code <move element="product_list_toolbar" destination="category....
1
vote
1answer
503 views

Magento 2: When use Flat Catalog Product it gives SQL error

When I am changed setting for Flat Catalog Product to Yes, it gives SQL error in magento 2. Stores >> Configuration >> Catalog >> Catalog Is this known bug in magento 2.2.6? I have done re-...
0
votes
1answer
257 views

Magento logouts after saving product image

I'm using magento 1.9.1.1 And strange thing happened after installing security patches. When I try to edit product image, upload works normally. But when I click save product, Magento automatically ...
0
votes
1answer
181 views

additional catalog attributes not working in catalog_category_view

In my templates I want to have access to custom product attributes on the detail page, the cart and also the category list view. This can be (or should be) easily achieved by creating a Vendor/Module/...
0
votes
2answers
2k views

Magento 2 : How to override fotorama.js in magento custom theme

I need to show gallery arrow always visible on product gallery page. I tried in gallery.phtml variable arrows="always", but its not working. I want to show both arrow always visible on product ...