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

  • SEARCH
  • Home
  • 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 4002556
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:02:37+00:00 2026-05-20T08:02:37+00:00

Currently if you create a product in UberCart, you have to first create the

  • 0

Currently if you create a product in UberCart, you have to first create the product before accessing the stock tab to set stock levels. I want to be able to set the stock levels when I create the product. I.e. Right below where I set the “list price”. How would I do this?

  • 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-05-20T08:02:38+00:00Added an answer on May 20, 2026 at 8:02 am

    Well, that’s going to involve a little work.

    1. You’re going to have to create a hook_form_alter implementation to add the new form fields to the node_add/node_edit form.
    2. You’re going to want to add a hook_nodeapi() implementation for $op==’validate’ to make sure you’re getting valid information.
    3. You’re then going to want to extend that hook_nodeapi() implementation for $op==’insert’ and ‘update’ to grab the field value (which should be stuck to the $node object) and write it to the stock levels table, whose name I’m too lazy to look up right now.

    Alternately, instead of 2 and 3, you could mess around with creating a validation and submit function, and append them to the #validate and #submit arrays of the form.

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

Sidebar

Related Questions

Currently I have create a website using codeigniter. I got a message error every
Currently the product I work on uses NSIS to create it's installer. It works
I currently have two models: Product and Service. Both share the same table structure
I currently have the following: class Question < ActiveRecord::Base belongs_to :product belongs_to :user belongs_to
Currently, I have a UI where the user chooses a product from a list.
Currently I'm trying to set up a Form to create a News-Item from. The
I have a module that is responsible for handling special products in ubercart (product
I'm going to create a colour picker for a product. I have 12 colour
I have a legacy product, spread across dozens of repositories. I'm currently trying to
Currently in my spec/decorators/product_decorator_spec.rb, I have the following: require 'spec_helper' describe ProductDecorator do let(:product)

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.