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

#   Ugly bug if you copy a product!

##

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

Less More

- Posts: 73
- Thank you received: 0
-
-

15 years 9 months ago [\#6873](#6873) by [benkly](/forum/user/547-benkly "View benkly's Profile")  *[Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6873 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")* was created by *[benkly](/forum/user/547-benkly "View benkly's Profile")*

Hello,

I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity.
When I save the I see the correct prices in matter what variant I choose. All fine.

Now the bug:
If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.

Regards, Benny.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NzMtdWdseS1idWctaWYteW91LWNvcHktYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6875](#6875) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6875 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

Hi,

Yes, it's a known bug in current release. It will be fixed with next release which is to come out next week. In the mean time you can look at that thread for the solution:
[ www.hikashop.com/en/support/forum/4-how-...e-products.html#6416](http://www.hikashop.com/en/support/forum/4-how-to/6072-show-variants-as-separate-products.html#6416)

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

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

Less More

- Posts: 73
- Thank you received: 0
-
-

15 years 9 months ago [\#6877](#6877) by [benkly](/forum/user/547-benkly "View benkly's Profile")  Replied by *[benkly](/forum/user/547-benkly "View benkly's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6877 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

Hi,

ok, this worked. But its a litte tricky to manipulate all the files every time after an update. Could't you set the tax decimals to 7 as a standard value? It should make no difference if the systems calculate with 7 or even more decimals.

And also the thing with the showed decimals in the frontend, couldn't you create a field in the backend to write in the wanted numbers of decimals to be showed in the frontend. That would save a lot of time after every update.

Ah, and one more thing. Is it possible to make a &lt;br&gt; in the product-name on a specific position?

Regards, Benny.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NzMtdWdseS1idWctaWYteW91LWNvcHktYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6879](#6879) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6879 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

The solution is not to hack hikashop to add these options but to fix hikashop to calculate the prices correctly ![:)](/media/kunena/emoticons/3.png ":)")
It should be done this month... Hopefully after next release...

I don't understand what you want to do in your last point. Could you explain a bit more ?

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

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

Less More

- Posts: 73
- Thank you received: 0
-
-

15 years 9 months ago [\#6903](#6903) by [benkly](/forum/user/547-benkly "View benkly's Profile")  Replied by *[benkly](/forum/user/547-benkly "View benkly's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6903 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

Oh, yes. I mean, if the product text is to long, then it brakes to a new line. But sometimesit brakes at a position where I don't want it, I want it one word before. But how could I do this, at HTML I can do this with a &lt;br&gt; (brake).

Regards, Benny.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NzMtdWdseS1idWctaWYteW91LWNvcHktYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6906](#6906) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6906 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

You can't choose where the products name will be cut. It actually depends on the resolution of your screen and your browser. You might have your products name break at different places based on the browser and the resolution of your screen (and other parameters such as the text zoom of your browser).

One possibility is to add a CSS property no-wrap to your product names so that they can't be cut at all. Or you could also reduce/increase the size of the font and other CSS properties in order to cut at a different place or to not cut at all.

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

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

Less More

- Posts: 73
- Thank you received: 0
-
-

15 years 9 months ago [\#6912](#6912) by [benkly](/forum/user/547-benkly "View benkly's Profile")  Replied by *[benkly](/forum/user/547-benkly "View benkly's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6912 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

Hi,

ok, then I have to change my template and choose a smaller font size for the productname.
BUT, then I have another problem. When I change the template, all my changes in the views are gone. Because the changes hangs on the template, where the changes are made, too.
Is there a workaround for this?

Regards, Benny.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4NzMtdWdseS1idWctaWYteW91LWNvcHktYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#6913](#6913) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ugly bug if you copy a product!](/forum/4-how-to/6873-ugly-bug-if-you-copy-a-product#6913 "Hello,  I think I found a very bad bug in the system. I create a product with 2 variants. For each variant I set some prices depents on the quantity. When I save the I see the correct prices in matter what variant I choose. All fine.  Now the bug: If I go in the backend and copy that product, then it delets all the prices in the copied produt in both variants AND same in the source product! It also delets the prices in the source product.  Regards, Benny.")*

That is indeed the case. The views customizations are on a per template basis. That enables you to have different customizations for different templates.
You can copy the folder templates/YOUR_TEMPLATE/html/com_hikashop from one template to another via FTP in order to get all your customization from one template to another.

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

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