[Skip to main content](#vessel-content)

#   relation beetween alias and id product product\_code

##

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

10 years 9 hours ago -  10 years 9 hours ago [\#256217](#256217) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  *[relation beetween alias and id product product\_code](/forum/32-content-creation/887670-relation-beetween-alias-and-id-product-product-code#256217 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  Hi what is the relation beetween id product&#95;code product&#95;name . I think my question is relative to the inter relation that xist in the rdbms ( mandatory unique ...) . I import a csv file of products and see i miss t oset tthe quantity of product t oa value ( 0 in the csv ) So I try to use mass action to update some product quantity value and see some don't product value are not update ..... So I try to update the quantity manually but after update the quantity value i have this message !! When i search cat501 in hikashop only one item appear ! Thank's")* was created by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5

Hi
what is the relation beetween id product_code product_name . I think my question is relative to the inter relation that xist in the rdbms ( mandatory unique ...) .
I import a csv file of products and see i miss t oset tthe quantity of product t oa value ( 0 in the csv )
So I try to use mass action to update some product quantity value and see some don't product value are not update .....
So I try to update the quantity manually but after update the quantity value i have this message !!
When i search cat501 in hikashop only one item appear !
Thank's

####  Attachment not found

Last edit: 10 years 9 hours ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg3NjcwLXJlbGF0aW9uLWJlZXR3ZWVuLWFsaWFzLWFuZC1pZC1wcm9kdWN0LXByb2R1Y3QtY29kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#256218](#256218) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[relation beetween alias and id product product\_code](/forum/32-content-creation/887670-relation-beetween-alias-and-id-product-product-code#256218 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  Hi what is the relation beetween id product&#95;code product&#95;name . I think my question is relative to the inter relation that xist in the rdbms ( mandatory unique ...) . I import a csv file of products and see i miss t oset tthe quantity of product t oa value ( 0 in the csv ) So I try to use mass action to update some product quantity value and see some don't product value are not update ..... So I try to update the quantity manually but after update the quantity value i have this message !! When i search cat501 in hikashop only one item appear ! Thank's")*

Hi,

The "product alias" and the "product code" are two different fields..

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg3NjcwLXJlbGF0aW9uLWJlZXR3ZWVuLWFsaWFzLWFuZC1pZC1wcm9kdWN0LXByb2R1Y3QtY29kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

9 years 11 months ago -  9 years 11 months ago [\#256341](#256341) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[relation beetween alias and id product product\_code](/forum/32-content-creation/887670-relation-beetween-alias-and-id-product-product-code#256341 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  Hi what is the relation beetween id product&#95;code product&#95;name . I think my question is relative to the inter relation that xist in the rdbms ( mandatory unique ...) . I import a csv file of products and see i miss t oset tthe quantity of product t oa value ( 0 in the csv ) So I try to use mass action to update some product quantity value and see some don't product value are not update ..... So I try to update the quantity manually but after update the quantity value i have this message !! When i search cat501 in hikashop only one item appear ! Thank's")*

Hi
Ok i see this field is inside *_hikashop_product table name
product_alias varchar(255) Null ( no)

As always with some time to read the documentation and go deeper :
- [ alias](https://docs.joomla.org/Alias) is a joomla concept and not hikashop .
- since it is joomla that create this alias .....it should like id ; check that this value is unique but not the reality
- joomal check the value only during edit the product . and then alert us .

direct import in rdbms avoid joomla check
don't know if mass action take care of this

So in some context when import csv ; you have to check by yourself than product_alias value is unique !!

Last edit: 9 years 11 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg3NjcwLXJlbGF0aW9uLWJlZXR3ZWVuLWFsaWFzLWFuZC1pZC1wcm9kdWN0LXByb2R1Y3QtY29kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 11 months ago [\#256366](#256366) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[relation beetween alias and id product product\_code](/forum/32-content-creation/887670-relation-beetween-alias-and-id-product-product-code#256366 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  Hi what is the relation beetween id product&#95;code product&#95;name . I think my question is relative to the inter relation that xist in the rdbms ( mandatory unique ...) . I import a csv file of products and see i miss t oset tthe quantity of product t oa value ( 0 in the csv ) So I try to use mass action to update some product quantity value and see some don't product value are not update ..... So I try to update the quantity manually but after update the quantity value i have this message !! When i search cat501 in hikashop only one item appear ! Thank's")*

Hi,

You also have the possibility to leave the product alias field empty. That way HikaShop won't bug you with that check and will generate the alias automatically out of the product name when needed to construct the URL of the product page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg3NjcwLXJlbGF0aW9uLWJlZXR3ZWVuLWFsaWFzLWFuZC1pZC1wcm9kdWN0LXByb2R1Y3QtY29kZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.079 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
