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 1049851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:40:50+00:00 2026-05-16T16:40:50+00:00

So apparently the support you get from Varien when you purchase the Enterprise Edition

  • 0

So apparently the support you get from Varien when you purchase the Enterprise Edition is next to worthless so I am hoping that someone here can maybe lead me in the right direction.

In Magento I am would like to create a product attribute that is the type int. When I create the attribute from the admin panel it creates it as a varchar.

What I am ultimately trying to do is create a total sold attribute so that I can use it for sorting by most sold products in the category display. The problem with it being varchar is that when you sort by this, it sorts it as a string and not a number.

Varien told me that in order to get this to be an integer I would have to do an update to the database. It looks like to me that I would have to change the backend_type column in the eav_attribute table to int and that should hopefully move the values to catalog_product_entity_int table instead of it going to catalog_product_entity_varchar table. Does this make sense? Has anyone else done this before?

Now that I have that question out there, is this what I should expect from the support from Varien? So far their support seem pretty useless. It seems that asking how to do something this simple would not be a big deal (especially since I asked them how to do it, and not to do it for me)

  • 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-16T16:40:51+00:00Added an answer on May 16, 2026 at 4:40 pm

    I’ve never tried to change the type of an existing attribute before, and I try to stay out of fiddling directly with the mysql database structure. It’s sort of like directly changing the contents of a memory location in a running desktop application; you can do it, but unless you know exactly what you’re doing chances are you’ll leave something in an unsupported state. Also, I can’t prove this, but I’m pretty sure the specifics of the EAV implementation has chanced over the lifetime of the product, which means different versions would have different answers.

    If you can start over from scratch, I’d add an attribute to the model programmatically (around the “Final Array of Key Value Pairs that Define the Attribute” header). Even if you can’t start over from scratch, create an integer attribute programmatically and diff your database before and after to see what needs to happen on the backend for an attribute to be created.

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

Sidebar

Related Questions

I have noticed from several web pages that apparently Spring 3.0 supports @Inject from
Apparently (at least according to gcc -std=c99 ) C99 doesn't support function overloading. The
I didn't realize this, but apparently Python's strftime function doesn't support dates before 1900:
Apparently #filter_chain is deprecated, does anyone know how? I've tried several things, but can't
Apparently POSIX states that Either a file descriptor or a stream is called a
We're using jQuery to get a JSON-string from our server (UTF-8 response, also UTF-8
Ever since I upgraded my Ubuntu from 9.10 to 10.04 I can't start Netbeans
I like the JSONP where we can get info cross-domainly however, what if some
I'm trying to understand how to get a public key imported from PEM format
I'm trying to understand how to get a public key imported from PEM format

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.