Variant name in Product name issue??

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #52411

Hello,

Variants names are showing up in product name like:

Product Name variant_name_1

I tried turning off the option "Append characteristics value to product name" but it's not working. I'm using rockettheme template and i noticed it works fine in joomla's default templates but not in RT template. Why this is happening? Please help me to fix it.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52476

Turning off that option should do what you want.
You're probably mistaking it with the product code:
www.hikashop.com/en/forum/2-general-talk...e-product-code-.html

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #52534

Thank you nicolas for this fix...it worked. Actually it is variant code was displaying with product name. I also commented out following lines of code in "show_default.php":


<!--<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>-->


I hope this will not affect any other stuff in my shop?


I also noticed, this variant code also appearing with product name in Orders pages/invoices? How can i remove it from there?

And one more question? Is there any way i can change shop url to my own? by default url is:

www.mysite.com/shop/product/cid-81

but want it to change to:

www.mysite.com/shop/softwares/cid-81


I just want to replace 'product' word with my own. Because i just have single product.


Thanks

Last edit: 12 years 5 months ago by fastweb.

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52582

If you don't want the code anywhere, please turn off the "show product code" option of the Display tab of the configuration (since 1.5.8) and that will remove it everywhere.

You can change that word in the Main tab of the configuration, in the SEF options area.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #52691

I'm using 1.5.7, i will update it to latest one then will check it. I'm using free version i hope i don't need to uninstall older version to update it to latest one?


Sorry didn't noticed SEF option. :D


Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52692

You can uninstall, but you don't need to. Even if you uninstall, you will still keep all your data so you won't loose anything.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #52840

Dear nicolas,

can you please guide me how can i turn off product code in 1.5.7 version (which line of code in which file)? because i just checked updating, it roll back all my changes i have made. I have made lot of bigger n minor changes including CSS and some other files too. And this will took lot of my time again to make these changes. :(

Last edit: 12 years 5 months ago by fastweb.

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52948

If you did your changes via the interface (you can edit the CSS and the views via the interface of HikaShop) you won't loose them when you update HikaShop as they are saved as overrides.

You can do like that:
www.hikashop.com/en/forum/4-how-to/5868-hide-product-code.html

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #52993

I already have commented out following code:

<!--<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>-->


and it works but it removed product code just from product page not from product name in Orders pages/invoices? And this is where i need to remove? I just need to know which line of code i need to remove to remove it from orders?

Many Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #52996

when i checked it in Firebug, it uses class "hikashop_order_product_name" and when i remove this element live in firebug it removes that code from orders page. It works. So now i need to know which file contains this class so i can remove it... Correct me if i am wrong. Further you know better right way to remove it. :)

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #53098

Well, there are several views everywhere for that...
The simplest would be to update to 1.5.8 and turn off the "show product code" option in the Display tab of the configuration.
That's a new option we added in the latest version so that you can easily remove the display of the product code.

Otherwise, you can also add CSS in your template CSS file to hide it:
.hikashop_order_product_name{display:none;}

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
12 years 5 months ago #53190

Thank you so much nicolas for your great instructions..it works.

i added ".hikashop_product_code_order{display:none;}" into my template css overrides and worked. it is much simpler than updating hikashop. :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds
Powered by Kunena Forum