Hide Product Item "code"

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33241

Hi, Is there a way to hide the product "code" from view on the item page. Thanks!

JK

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33256

do you use variants (characteristics) of products?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33257

could you show the URL of test page where can we see this?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
12 years 11 months ago #33289

Normally, the product code doesn't display on the product page unless you changed the CSS.
However, some templates process spans and break the class name in them resulting in the CSS to hide the product code to not work. In that case, you should turn off the span processing option of your template.

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33433

Ok, would you have an idea on how I would actually turn the span processing option off? Sample page of site:

beyondee.net/ecom-site/index.php/product...uct/14-foldtent-card

I'd appreciate any help.

Thanks!
JK

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33436

if you could send me admin access I can help you.

p.s. I think that problem not in span...


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 12 years 11 months ago by progreccor.

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33437

Sorry not comfortable in giving a stranger access. If you could help through the form that would be great.

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33438

here is the code that show your header

<h1 style="visibility: visible;" id="">
<span>Fold/Tent</span> Card: 4/0 (Full Color Front Side) 752585_17 </h1>

so i think that the problem not in span processing.

May be problem in the name of variants (characteristics). Each characteristic (variant of product) have it's own name.
Simply see they all and may this product code was there.


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33439

I see that you have changed output (view) for the product, isn't it?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33440

Even without variants the "product code" still appears. The code which one enters in on the actual product page.

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33442

will check. thanks.

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33444

within hika shop, system>display> in CSS the frontend file is set to default. Should I be looking elsewhere?

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33445

Display -> Views
then choose your template in the upper corner and try to find line like this:

Front end <your template> product show

Do you or somebody changed this view?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!
Last edit: 12 years 11 months ago by progreccor.

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33446

Ok, I found the file.

?>
<form action="<?php echo hikashop_completeLink('product&task=updatecart'); ?>" method="post" name="hikashop_product_form" enctype="multipart/form-data">
<div id="hikashop_product_top_part" class="hikashop_product_top_part">
<h1>
<span id="hikashop_product_name_main" class="hikashop_product_name_main">
<?php
echo $this->element->product_name;
?>
</span>
<span id="hikashop_product_code_main" class="hikashop_product_code_main">
<?php
echo $this->element->product_code;
?>
</span>
</h1>
<?php

Is this what I'm looking for?

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33448

wait a minute.
Let's try to see your configuration.

system -> display -> General display options -> Append characteristics value to product name

Yes or No?


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33449

Can I just delete?

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

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33450

you can comment this line by //

But first try to see what I write before


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33452

set to "yes'

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

  • Posts: 2293
  • Thank you received: 315
12 years 11 months ago #33453

try to set "no"


Я не явлюсь официальной службой поддержки!
Я здесь добровольно!

Хочешь получить купон на скидку Hikashop? Спроси меня как!

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

  • Posts: 26
  • Thank you received: 0
12 years 11 months ago #33454

When set to "no" it does not display the "variant default" value anymore. Which helps. Yet, the product code still appears.

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

Time to create page: 0.097 seconds
Powered by Kunena Forum