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

#   Wholesale Reduction of Prices

##

- **dlaughter**
- ![dlaughter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg) Topic Author

Less More

- Thank you received: 0
-
-

13 years 11 months ago [\#82708](#82708) by dlaughter  *[Wholesale Reduction of Prices](/forum/2-general-talk-about-hikashop/76886-wholesale-reduction-of-prices#82708 "I saw a sql command on here earlier to increase all prices at one, which was UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value &#42; 1.35;  If I wanted to reduce all prices at once, say by 33%, would it be UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value / 0.33;?")* was created by *dlaughter*

I saw a sql command on here earlier to increase all prices at one, which was UPDATE #__hikashop_price SET price_value = price_value * 1.35;

If I wanted to reduce all prices at once, say by 33%, would it be UPDATE #__hikashop_price SET price_value = price_value / 0.33;?

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

- **[sambob](/forum/user/7887-sambob "View sambob's Profile")**
- [![sambob's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7887.png)](/forum/user/7887-sambob "View sambob's Profile")
- [ Offline](/forum/user/7887-sambob)

Less More

- Posts: 260
- Thank you received: 25
-
- [](https://viemedia.com.au)
-

13 years 11 months ago [\#82712](#82712) by [sambob](/forum/user/7887-sambob "View sambob's Profile")  Replied by *[sambob](/forum/user/7887-sambob "View sambob's Profile")* on topic *[Wholesale Reduction of Prices](/forum/2-general-talk-about-hikashop/76886-wholesale-reduction-of-prices#82712 "I saw a sql command on here earlier to increase all prices at one, which was UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value &#42; 1.35;  If I wanted to reduce all prices at once, say by 33%, would it be UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value / 0.33;?")*

An easier and a lot safer, would be to export products to csv, increase/decrease price, then do an iport; either the cvs back again or just via text import of the product name, prod code and new price.

---

Don't look at what is and ask 'why?'; look at what isn't and ask 'Why Not!'

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

- **dlaughter**
- ![dlaughter's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg) Topic Author

Less More

- Thank you received: 0
-
-

13 years 11 months ago [\#82728](#82728) by dlaughter  Replied by *dlaughter* on topic *[Wholesale Reduction of Prices](/forum/2-general-talk-about-hikashop/76886-wholesale-reduction-of-prices#82728 "I saw a sql command on here earlier to increase all prices at one, which was UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value &#42; 1.35;  If I wanted to reduce all prices at once, say by 33%, would it be UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value / 0.33;?")*

I tend to agree and that's the way I went. Much more tedious but I keep my master csv accurate, then re-import it.

I think I found the correct query though, I believe to reduce all prices by 33%, it would be UPDATE #_hikashop_price SET price = price*.66;

Thanks.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 11 months ago [\#82773](#82773) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Wholesale Reduction of Prices](/forum/2-general-talk-about-hikashop/76886-wholesale-reduction-of-prices#82773 "I saw a sql command on here earlier to increase all prices at one, which was UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value &#42; 1.35;  If I wanted to reduce all prices at once, say by 33%, would it be UPDATE #&#95;&#95;hikashop&#95;price SET price&#95;value = price&#95;value / 0.33;?")*

You will have to use: UPDATE #_hikashop_price SET price_value = price_value*0.66;

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

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