Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8806311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:05:58+00:00 2026-06-14T02:05:58+00:00

In Magento, while I’m creating or editing a product, I need to know if

  • 0

In Magento, while I’m creating or editing a product, I need to know if this product is a new product or an edited one.

I found a part or the URL with “new” or “edit”, but I didn’t found anything online to help me catching this.

Can you help me?

EDIT:

Okay I found something:
I’m trying to get ActionName of the controller, but I’m on the Block who runs the Custom Options Tab while creating or editing a product. So when I get ActionName, I get “options”, it’s the child, I need the ActionName above (it might be a parent ?).
Any help is welcome to do that, thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:05:59+00:00Added an answer on June 14, 2026 at 2:05 am

    During the creation of a product the product_id is NULL, if it’s an existing product then the product_id will be greater than zero.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While I was developing with Magento, I found out that I don't need to
While creating product, at the last step after retrieving for a time, Magento gives
We've built up thousands of product urls while using Magento as our cart application
I am facing this problem while installing extensions, themes basically anything from magento connect.
I need to create module in Magento which will have few database tables. One
I have been wondering about this for a while. What if Magento has written
I found a strange problem while doing some unit-testing on Magento. I have a
I am new to Magento and installing it. While installation i have put in
Our Magento site is moved to new hosting server, since that while check out
Weirdly, the index page of my Magento commerce is very slow. While you navigate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.