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

#   change product id number in database

##

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

12 years 9 months ago [\#141345](#141345) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  *[change product id number in database](/forum/26-product-category-display/865352-change-product-id-number-in-database#141345 "hi,  we recently sent out an email which had a link in it to automatically add a product with a characteristic to the cart. you can see it at the end of this link:  however we've since updated the characteristics of the product and this has, in turn, created a new product number. this means that the link that was sent out in the email is now broken as product '174' is now product '182'  am i able to just change the '182' value in the database back to '174' so that the link works again?  many thanks")* was created by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")*

hi,

we recently sent out an email which had a link in it to automatically add a product with a characteristic to the cart. you can see it at the end of this link:
Code:

/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product_id=174

however we've since updated the characteristics of the product and this has, in turn, created a new product number. this means that the link that was sent out in the email is now broken as product '174' is now product '182'

am i able to just change the '182' value in the database back to '174' so that the link works again?

many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjUzNTItY2hhbmdlLXByb2R1Y3QtaWQtbnVtYmVyLWluLWRhdGFiYXNlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14269
-
-

12 years 9 months ago [\#141347](#141347) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[change product id number in database](/forum/26-product-category-display/865352-change-product-id-number-in-database#141347 "hi,  we recently sent out an email which had a link in it to automatically add a product with a characteristic to the cart. you can see it at the end of this link:  however we've since updated the characteristics of the product and this has, in turn, created a new product number. this means that the link that was sent out in the email is now broken as product '174' is now product '182'  am i able to just change the '182' value in the database back to '174' so that the link works again?  many thanks")*

Yes, but make sure that you change it both in the hikashop_product, the hikashop_variant, the hikashop_price (if you set a price for your variants) and the hikashop_file (if you set images/files for your variants) tables.
Otherwise, if you don't change it in them all, it won't work properly.

The following user(s) said Thank You: [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")

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

- **[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")**
- [![daveturner101's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/guitar.gif)](/forum/user/13550-daveturner101 "View daveturner101's Profile") Topic Author
- [ Offline](/forum/user/13550-daveturner101)

Less More

- Posts: 72
- Thank you received: 0
-
-

12 years 9 months ago [\#141422](#141422) by [daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")  Replied by *[daveturner101](/forum/user/13550-daveturner101 "View daveturner101's Profile")* on topic *[change product id number in database](/forum/26-product-category-display/865352-change-product-id-number-in-database#141422 "hi,  we recently sent out an email which had a link in it to automatically add a product with a characteristic to the cart. you can see it at the end of this link:  however we've since updated the characteristics of the product and this has, in turn, created a new product number. this means that the link that was sent out in the email is now broken as product '174' is now product '182'  am i able to just change the '182' value in the database back to '174' so that the link works again?  many thanks")*

thanks. appears to work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjUzNTItY2hhbmdlLXByb2R1Y3QtaWQtbnVtYmVyLWluLWRhdGFiYXNlP3RtcGw9bWFya2Rvd24=) 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.177 seconds

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

[](#top)
