Questions tagged [new-products]

Questions related to the "new products" widget/block and the news_from_date and news_to_date attributes.

Filter by
Sorted by
Tagged with
11 votes
7 answers
18k views

Why the error when creating a new product "Asymmetric transaction rollback."?

When creating a new product and trying to save it, I get the following error message: Asymmetric transaction rollback error Has anyone else encountered this? Please share the fix :)
  • 121
5 votes
2 answers
10k views

Magento2 : How to show New label in product list page

I want need to show New label on new product in product list page. Help me for the achieve this task. How can it will Show in magento2 ?
3 votes
1 answer
1k views

How to edit the sorting order of New Products displayed on Magento homepage

I am showing new products on homepage with the code {{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}} Now the results ...
  • 35
3 votes
1 answer
4k views

New products list dedicated page

I need to display the products marked as new in a dedicated page in my e-shop and use the same products list template I am using in the catalog_category_view page. Does Magento already provide this ...
  • 1,453
3 votes
1 answer
58 views

How to Remove New Products Block products Price for store 1 not for store 2

I need to remove home Page New product products price for store 1, not for store 2. if i remove <!-- <?php echo $this->getPriceHtml($_product, true, '-new') ?> --> Both stores do ...
  • 145
3 votes
1 answer
232 views

display news products in a page accessible from the menu

i would like to show my news products in a page accessible from the menu.. the version of my magento is 1.7.0.2 so i created a page named "news". in tab design, i added this xml in the textarea (xml ...
3 votes
0 answers
1k views

Magento 1.9 add new products to homepage with Layout update XML only

I manage to show 4 'new products' on my homepage. In my Homepage > Design > Layout update XML i put the following code: <reference name="content"> <block type="catalog/...
  • 483
2 votes
1 answer
2k views

Magento 2 programmatically get latest products?

How can i get latest products programmatically in magento 2?
  • 435
2 votes
1 answer
5k views

Magento2 Add to Cart from homepage not working

I've set up a Magento v2.0.6 installation Running Luma theme. I've created a own template based on the Luma with some minor changes (removing links, adding custom CSS etc.) at least nothing big. I'm ...
  • 321
2 votes
1 answer
56 views

Why new products are visible smaller as compared to recently products on homepage. Today it looks fine but how come

I am building an eCommerce website named www.bookslab.in. On my homepage when i added the 2 widgets "New Products" & "Recently Viewed" products then new products section is visible smaller as ...
2 votes
0 answers
76 views

New Product Widget not appearing when adding phtml to theme

I'm trying to add a New Product widget to my home page. As soon as I had the new_list.phtml into my theme from the base theme, the widget disappear. Has anyone encounter that issue in Magento ver. 1....
2 votes
0 answers
562 views

Magento new products widget

I am trying to create a CMS page which displays and paginates all the new products on a site. This first appears to be easy as there is a widget built in that lets you select if you want to use the ...
1 vote
1 answer
431 views

How to hide new or featured product from home page if it is out of stock - Magento 1.7

I am showing new and featured products on my home page. I'd like to show only products that are on stock. If a product is marked as new or featured it will be shown here only if it is on stock (have ...
  • 59
1 vote
1 answer
255 views

How do I determine whether a product is new

I have a Featured Products block on my current theme and I'd like to make changes to it. I would like tochange it into a Featured and New products. Yes, I did read How to check if a product is new ...
1 vote
1 answer
816 views

How to display newly added widget for a particular category

I have replicated Catalog New Products List in magento and added a category chooser field to it. How to filter new products using category id? app/code/[vendor]/Newproducts/Block/Product/Widget/...
1 vote
1 answer
2k views

How to show New Product 1st on Category page

I have added new product and it show at the end of the category page in magento 1.9.2.3. Suppose if i have 2 page of category products than new product show at 2nd page at the end, but i want to show ...
1 vote
1 answer
82 views

Getting price to display if New, or Reconditioned

So I am trying to create a function that states that if the product is new in stock then display price, or if the product is not new but reconditioned then I want it to display the reconditioned price,...
1 vote
1 answer
1k views

Set default value to news_from_date and news_to_date

How can I automatically set the news_from_date and the news_to_date for a new product? news_from_date should be the date now and news_to_date should be date now +1 week.
1 vote
1 answer
393 views

catalog/product_new no longer displays anything

So, I've been using this as a New Arrivals part of my home page to display those products that have the most recent 'Set Product as New From Date' and 'Set Product as New To Date' parameters set up. I'...
  • 13
1 vote
1 answer
102 views

Daily Email update to admin about Newly added product information

I am having multi-vendor store where one sub-admin add the product and main-admin take care of configuration, tax, shipping etc. Now the main admin needed email notification at the end of the day ...
  • 3,076
1 vote
0 answers
29 views

Show all sale products or new products like in a category page with layered navigation Magento 2

How can I Show all sale products or new products like in a category page with layered navigation?
  • 183
1 vote
3 answers
6k views

Magento 2 Sort by New Products and Most View Product

I am using this Magento 2 add Sort By Best Sellers Option on category products litsing page for Best Seller Products i want to same New Products and Most View Product
  • 3,816
1 vote
0 answers
609 views

A list page with new products [duplicate]

I am trying to create a page that looks like any category page and lists all my new products, this seems like it should be simple what would i need to do to do this? a similar question was asked here ...
1 vote
1 answer
821 views

Some new products not showing in homepage

I've a site on magento 1.9.2.4, in home page there is a tab for new products, selected from date in product setting. The strange thing, some product is not showing in home page, even though I set the ...
  • 317
1 vote
1 answer
121 views

Configurable swatches are not displaying on new products page ( new.phtml )

I am using my custom theme. By following some articles, I have displayed configurable swatches on the product list page. When I set the configurable product as New then it appears on my New Products ...
  • 847
1 vote
0 answers
97 views

NEW PRODUCT updating at the wrong time

One of my clients are having trouble with their magento installation. When they they create a new product and set the "Set Product as New from Date". It does not update until later that day, and not ...
0 votes
2 answers
1k views

How to Sort New Products at Home by Product Name

how to sort New Products at Home by Product Name ? because I see to put it through CMS page in the Admin: Admin - CMS Pages - home - Content : {{widget type="catalog/product_widget_new" ...
0 votes
1 answer
569 views

Newest Product Widget Not Showing Correct Products

I have a recent problem with the new product widget not actually displaying the newest products. It is set to 'all products-recently added products' but has just been showing the same 5 products for ...
0 votes
1 answer
153 views

how to override vendor/magento/module-catalog/Model/ImageUploader.php in my custom module and magento showing error "Code Duplicates Detected" [closed]

File: brijeshjp2006/sliders/brijeshjp2006-sliders-1.0.5.0/Model/ImageUploader.php Line: 2 File: magento/module-catalog/magento-module-catalog-102.0.3.0/Model/ImageUploader.php Line: 6
  • 1,205
0 votes
4 answers
3k views

New Products 3 columns on Home page CMS

I had a nightmare with New Products display on homepage with 1 row to display 5 products (columns) on magento 1.9.3 I have following code: {{widget type="catalog/product_widget_new" display_type="...
  • 197
0 votes
2 answers
783 views

Remove title New Products from Magento 2 Content New Products Widget

I have scoured the internet looking for a solution of removing the title word New Products that exists just above the grid from the Magento 2 new products content widget. Not sure how to accomplish ...
0 votes
2 answers
886 views

The label New not displayed on all new products magento 2

I installed the template shop4u and i see that just on one product the label new is displayed despite i set featured = true. Can any one explain to me this code: if (($newsTo != '' || $newsFrom != '')...
0 votes
1 answer
326 views

Is it possible to add a template to a widget using $this->getchild?

I'd like to add some pagination for a widget that i'm adding to a CMS page. Is it possible to add a template to this widgets .phtml page or is there any other way for me implement this functionality? ...
  • 1,267
0 votes
3 answers
132 views

Magento 2.3 New Products are Not Display in their respective category pages

Our new products are no longer showing on their respective category pages on the frontend. I have checked lots of items on the admin: General->Status = Enabled General->Visibility = Catalog,...
  • 1
0 votes
2 answers
729 views

Magento2: how to develop rest API to get new products

I want to get new product using REST API. I am using below code:- app/code/Myvendor/Mymodule/Api/NewproductInterface.php <?php namespace Myvendor\Mymodule\Api; //use Myvendor\...
0 votes
1 answer
214 views

Auto-expand subcategories in product form

I have a category with subcategories, and I want to have the subcategory visible from the beginning, when the user opens the category selector. Currently, the user has to click the arrow next to the ...
  • 73
0 votes
1 answer
471 views

Magento 2 How to make status disable when create new products

While creating new product in admin of magento 2. Product status is enable. How can i change that status to disable as by default at a time of create new product?
  • 387
0 votes
1 answer
1k views

Magento 1.9 - Get new products

How I can get new products of the last 30 days in Magento 1.9.
  • 2,156
0 votes
2 answers
478 views

I have create admin grid in magento 1.9 .It was not working getCollection error how to solve please help me

my config.xml <?xml version="1.0"?> <config> <modules> <Epage_Developer> <version>1.6.0</version> </Epage_Developer> </modules> <...
0 votes
2 answers
2k views

Magento 2 List newly created products

In Magento 1.x I have used the Tridian New Arrivals code to list "New Arrivals" on my homepage. Moving to Magento 2.1.5, I want to do the same thing, but am lost in how to achieve this? Perhaps the ...
  • 439
0 votes
1 answer
461 views

How to Add New Products Automatically in Magento 1.9? [closed]

I am trying to achieve something like this: When adding new product, The field for "Set Product as New from Date" will be auto filled with Same day date (Current date) and "Set Product as New to Date"...
  • 15
0 votes
1 answer
1k views

new products list - with title & short description

I want my New Products (list) widget to display the Title & Short Description of the items. E.g. www.pccasegear.com there "New products" section on there home page. I've had a look at a few ...
0 votes
1 answer
1k views

How to Remove the items from a category automatically based on date?

I have created one category for displaying new arrivals and have added all items under this category. Now i need to delete old items (30 days old & 7 days old) from that category. This should ...
0 votes
1 answer
286 views

Can not add new product

I cannot add new products in Magento because de main options are not showing after clicking on "Add new product", I attach an screenshot. As you can see see in the left menu there are missing several ...
  • 141
0 votes
1 answer
465 views

New & Sale product list from specific categories

I would like to make 2 links with containing all new (link 1) and sale (link 2) products from a specific category and it's sub categories. For example: I want to show all new products from the baby ...
  • 423
0 votes
1 answer
2k views

Showing new products in RWD-Theme

I'm trying to display the newest Products on a CMS page, but it doesn't work. I've tried several codes ({{block...), but none of them would work. I have read about issues with the RWD-Theme but couldn'...
0 votes
1 answer
81 views

New products not showing in category frontend Magento 2.3.7-p3

Before you dismiss this kindly read the details. I have come across several issues but none provide a solution to my question. My products do not show in the frontend of the store. They are visible ...
0 votes
0 answers
137 views

Magento 2- Added widget in static block is not visible in front end

I have created a static block and within the block, I have added an embedded code for new_products widget. All content is visible in the front end except the widget. Embedded Code: {{widget type="...
  • 71
0 votes
1 answer
456 views

Magento 2: Error while adding new category or new product

I am facing a error while adding a new product or category from back-end. The error is as follows: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'entity_id' cannot be null, query was: ...
0 votes
1 answer
376 views

Magento 2: How to add date filter to new product widget

I am using new product widget in my custom phtml template. It is showing the newly products. but i want to add the date filter to this products. How can i do it. Any help appreciated. template file ...
  • 1,506