Stack Exchange Network

Stack Exchange network consists of 174 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

It should be used for questions regarding the catalog module.

0
votes
1answer
22 views

Staging environment to manage the catalog

I have a site in Magento 1.9 CE. 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 ...
0
votes
1answer
17 views

How to add new field in product attribute options in Magento 2

I want to add custom field for attribute options in Magento 2 how can I do?
0
votes
0answers
10 views

Magento 2 admin Storefront not visible in Default Config

When I'm in Stores > Configuration > Catalog > Catalog and I select the Default Config scope, the Storefront does not show up. When I change to another scope the Storefront does show up. I need this ...
0
votes
1answer
21 views

Magento 1.9 Visibility : Orphaned

In one of the project i saw visibility as orphaned as far i know there is no by default functionality to set visibility as orphaned. I trying to know how this option is created because when we set a ...
0
votes
0answers
17 views

Load ajax after using observer

I have added this JS code inside catalog-add-to-cart.js : var popup = $('<div class="add-to-cart-dialog ajoutPanierModal"/>').html('<span>Le produit a été ajouté au panier.</span>')...
1
vote
1answer
30 views

Magento 2 How to set product minimum quantity selected to minimum qty configured in the Advanced Inventory product level

If 5 is the minimum Qty on Advanced Inventory product level for a product then in Product detail page it should as 5 default selected. How can I achieve this.
1
vote
0answers
22 views

How to implement logic for the copy an attribute value to another attribute based on the attribute sets?

We have some attribute sets like BCDs, Polespears ...etc and respected attributes like bcds_color, polespears_color ..etc would like to copy the value from attribute set based to "ca_color" ...
0
votes
0answers
16 views

Ask if user want to add another product (up selling ?)

I have two issues : I need my user to add one product (1) on his cart. Then, when this product is added, I want to ask if the user wants to add another product (2) The product (2) is available only ...
0
votes
1answer
20 views

Programmaticaly use catalog permission based on user group

Is there a way to restrict catalog / product page based on user group (for example, if my user is in the group "A", he will see only product for the group "A") ? Ideally by avoiding paid extension if ...
0
votes
0answers
75 views

The new url key is not working for product page

I am trying to change "URL Key" for the product. When I edit "URL Key" on product edit page, URL key gets changed correctly ... but the "request_path" in database is not updated for that key. I have ...
2
votes
0answers
17 views

When To Use MultiStore Vs. Categories

I'm attempting to hide the "Add To Cart" button for specific stores currently and am having some issues with my lack of experience. It works in each individual store but not when using the search ...
1
vote
1answer
33 views

How to get product parent category id and category id separatly in magento 2.2.6 using product ID?

Problem definition: I have product under below category: Beauty --> Sun --> my-some-product-name. where 'Beauty' is root category and 'Sun' is the subcategory of 'Beauty'. Currently, I am ...
0
votes
1answer
20 views

How to show “out of stock” in ONE category only while hiding them from all other categories?

I am trying to display out of stock product in only one category. I have already change admin setting "display out of stock" - No any idea how to display it in one category.
0
votes
0answers
26 views

Default sort order for default sort attributes

So it is already possible to select custom attributes for the default sort order in categories. But this sorts by default ascending. If we have - like in our case - a popularity rating which is a ...
2
votes
0answers
18 views

how I add category dropdwon with custom option in magento 2 [closed]

how I add category dropdwon with custom option in magento 2
1
vote
1answer
31 views

Magento 2.2.5 large multi-store catalog categories not updating

I have a drop down Make Model Year parts finder on my store's front end that uses a three-level category tree with 3,000 subcategories. The same tree is used across five stores with subcategories ...
1
vote
0answers
10 views

Add new column to individual options?

I try to add radio buttons to all individual options (Catalog -> Manage Articles -> Open a configurable article -> Individual Options) so that the backend user can pick which one he likes to be ...
0
votes
0answers
16 views

v1.9.3.9 - Category Products (in Admin -> Catalog -> Manage Categories) not working correctly

I've got a problem with an installation of Magento v1.9.3.9 that has been reported to me by our client, and it's a bit of a headscratcher. Never seen it before, can't find any similar problems/...
2
votes
1answer
25 views

Group Collection to Filter Unique Products Based on a Specific Attribute

Scenario: A store catalog is populated with configurable products each having several children with different sizes and colors. As the goal is to show the different color variations, only the ...
0
votes
1answer
29 views

Magento 2 : How to create custom Image gallery Module?

I want to create custom image gallery module in magento 2 same as like catalog and product. How to create it? i have no idea. please help me as soon as possible?
1
vote
1answer
30 views

Magento 2 Equivalent for Mage::getModel('catalog/layer')

For Magento1, On:- app/design/frontend/Mypackage/Mytheme/template/catalog/product/view.phtml I'm using following code:- Mage::getModel('catalog/layer')->getCurrentCategory()->getId() Same code I ...
1
vote
1answer
184 views

Overriding model file is not working in Magento 2.2.5

I tried to override model, but it is not working. I need to override: Magento\Catalog\Model\Product\Attribute\Backend\Price to Pawan\Catalog\Model\Rewrite\Product\Attribute\Backend\Price But it ...
1
vote
1answer
29 views

How to load custom template file for product detail page in magento2

I am looking for code how we can load custom template file for product detail page? I need to remove default magento2 detail page, I have tried below code to achieve it, {{block class="Magento\...
0
votes
1answer
39 views

Remove item from category collection in Magento 1.9

I have a category collection in Magento 1.9 This is my code :- $categories = Mage::getModel('catalog/category') ->getCollection() ->addAttributeToSelect('*') ->...
0
votes
2answers
19 views

how to remove white space from product name during custom product collection?

I am getting stuck with white space in set order during product collection in magento 2. I want to get product details with ascending order via name but name has white space. I have removed white ...
0
votes
2answers
163 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 ...
0
votes
0answers
34 views

Force customer to log in when visiting a specific category Magento 2

I have found that https://github.com/bitExpert/magento2-force-login and I just install it but I don't know how to use it: how to force not logged in the customer to login or create an account before ...
0
votes
2answers
69 views

How to Display 5 images by default in magento 2 product gallery vertical

I need to show by default 5 images in magento prduct page gallery. I change the view of gallery is from vertical to horizontal. I need to know that which js file i have to modify for display default 5 ...
0
votes
0answers
53 views

Magento 2.2.5 : How does Catalog Widget Module JS works?

i'm looking for an explaination about how JS in Catalog Widget Module works. Here is what is Catalog Widget render in admin page. And here is what happen after i click to change value of that Display ...
0
votes
1answer
54 views

Magento 2 : Error 503 first byte timeout

Getting this error when i'm update product from product grid using update attributes. Error Page:
1
vote
0answers
26 views

Magento 2: Is it possible to create Product attributes sets and their options programmatically but not during the install

We are developing a REST API that extends magento 2's functionality. One thing we need this API to do is to create attributes "on the fly" based on the custom JSON product payload sent. For example ...
1
vote
1answer
20 views

Magento 2: Upsell programmaticly add products only adds last item

I am trying to add upsell products automaticly with the Magento\Catalog\Api\Data\ProductLinkInterfaceFactory class, I added following code: EDIT CODE IS UPDATED WITH AN WORKING EXAMPLE $i = ...
0
votes
2answers
62 views

Magento 2 : Catalog access by customer group

I want to restrict product by customer group. For mapping, we added an attribute to product called group_ids where admin can select multiple customer groups I want to restrict customer to access ...
0
votes
2answers
83 views

Magento 2.2.5: Explain about Position in “Catalog_Category_Product”

I'm looking for an explaination about column "Position" in table "Catalog_Category_Product". I dont understand what is 0 and 1 in that column, and what does it for? Thanks for reading. Have a good day ...
0
votes
0answers
23 views

How can I show Save & Edit Next and Save & Edit Previous link in Magento2 admin product edit section?

I want to show Save & Edit Next and Save & Edit Previous in Magento2 product edit section in admin side. That will edit Previous or Next product based on filter collection in products.
1
vote
0answers
27 views

How to use modifier in product_action_attribute Form?

I have created an eav attribute and modified the field inside edit product form, that was easy. But in products mass action (Update attributes) page, the field I have created, by eav Attribute and ...
0
votes
0answers
15 views

How can I make my attributes editable from the catalogue page?

in my catalog page for products, Cost Price, Price, and QTY are editable from the catalog page itself without clicking into it. How can I make some of my other attributes act this way? I'm editing ...
1
vote
0answers
32 views

How to get cart price rule collection in magento 2?

I want to show cart price rule on product page. How to get collection of cart price rules?
0
votes
2answers
66 views

Magento 1.9 : How to Edit the price of all products؟

I want to increase the price of all products And if I want to edit each one It's very time consuming Is there a way to group?
1
vote
1answer
21 views

Get the product of review?

I'm listing all the reviews on a particular page of my magento store: $review_collection = Mage::getModel('review/review') ->getResourceCollection() ->addStoreFilter(Mage::app()->getStore()-&...
0
votes
0answers
17 views

Magento2 Mysql is using full CPU and running the same query over and over again

We are running into the situation where the Mysql is using full CPU and running the same query over and over again. SELECT `e`.*, `price_index`.`price`, `price_index`.`tax_class_id`, `...
0
votes
1answer
71 views

Magento product collection override sort order with own order

I'm using Magento 1 and inside catalog/product/list.phtml I use the following code to add a custom sort order product_on_top: <?php $_productCollection=$this->getLoadedProductCollection(); $...
1
vote
1answer
267 views

Magento2: Show subcategory as a grid with images

I need to display all the sub categories under every category as a grid in relevant pages with linked images. Is there a way to do it ? I am using magento 2.2.4
0
votes
0answers
15 views

Can I change a product and maintain the url?

I currently have several products that I created as configurable but now I want them to be simple products. If I create a new copy as simple product with the same url key, does my SEO gets affected?
2
votes
1answer
74 views

SQLSTATE[23000]: Integrity constraint violation when searching on frontend

On my frontend when I type anything in the search box I get the following error: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'position' in order clause is ambiguous, query was: ...
3
votes
0answers
75 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"&...
0
votes
1answer
37 views

Magento2: catalog_product_view.xml

Here what happen I am trying to add my custom phtml file in catalog_product_view.xml. Underneath: <referenceContainer name="content"> <container name="product.info.main" htmlTag="div" ...
0
votes
1answer
36 views

Not able to reindex “Catalog URL Rewrites”, all other index are indexed fine in magento 1.9.3.8

I have upgraded Magento 1.9.1.1 to Magento 1.9.3.8. After this I am not able to reindex "Catalog URL Rewrites" index while all other index are working fine (I am able to index them). I am getting ...
0
votes
0answers
47 views

Change the old url to new url programmatically in magento 1.9

I want to change the old url to new url when old url is going to 404 page. I need programmatically because I have nearly 50k+ products. can anyone help me.
0
votes
1answer
152 views

401 Authorization Required Magento 2 REST API

I'm trying to get the list of all magento2 products but I'm getting 401 authorization error. I tried the below methods and in all methods I'm getting the mentioned error! First Method: $userData = ...