How can I get rid of extra product header?

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88134

Hi,
I have been importing new products and added product id to already exixting products via the text area import feature.
First of all I got a duplicated Product with the original product and one with the newly added Id...
Well not so funny but the most annoying thing is that now when I click a product inn the product listing after first have clicked a product category in the left side menu I get an annoying extra title added to the original Product name that used to be the only header before.
See here:
www.fly-tiers.se/index.php/hikashop-menu...uct/368-adams-female
If I check it with Firebug in Firefox I can see a <span id="hikashop_product_code_main" class="hikashop_product_code_main"> wrapping the added header. How can I get back to only display the Product name?

Last edit: 11 years 11 months ago by LAMF. Reason: misspelling

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

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #88166

Hi,

I think that you'll probably find your answer there :

You can edit the file show (show_default since 1.5.6) of the view product via the menu Display>Views and remove the lines:
echo $this->element->product_code;
and:
echo $variant->product_code;


Hope this will help you.

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88192

Mohamed: This partly solved it... but as soon as I click a product I get the double name.
Then when I choose a feature (hook size) the double name disappears. If I then choose to place it in the cart the feature aka double name appears in the cart!
In the cart I used to have only the product name and the hook size but now it's totally weird.
It seems like the double name has taken the place of the feature, but I haven't found these double names anywhere in the product editor.
Please I need to solve this. Is this happening because I have imported/updated from text area?

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88251

As this all started after I updated the products with product id's maybe I have used the wrong import parameter for it?
This is an example of how the text area I use loooks like:

product_code;product_name;categories;price_value;price_currency_id;images
LFTD001;Abejote;Torrflugor;4.00;USD;
LFTD002;Adams;Torrflugor;4.00;USD;
LFTD003;Adams Trude;Torrflugor;4.00;USD;adams_trude.jpg
LFTD004;Black Beetle;Torrflugor;4.00;USD;black_beetle.jpg

The product code is placed under the parameter "label" or "coupong" in the product editor (in swedish kupong).
Before I did this update via the import form text area everything worked fine.
What I mean with fine is just the Product name displayed in all product views and when the feature (hook size) is choosed that should also be displayed like before (ie.like this: "size: 10").
Then when adding the product to the cart I just want the product name and the hook size displayed, not any ridiculous additional Product_name_18.
If I only knew why this happens and where that text string came from I could solve it but I don't find it anywhere in the configuration
So if someone at HikaShop has the solution (as you use to) I would be very grateful.
Normally I would just reset the whole page and makea restore from akeeba backup but this time I had assistance with the people from Artetics in order to set up
the zoom in freature and if I reset their job will also be reset.
Is there a solution to this?
Can you please tell me what the correct parameter is to import product id via the text area?
Regards,
Micke

Last edit: 11 years 11 months ago by LAMF.

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88286

I found out that if I check the Show code to No under Global settings =>Show=>Standard parameters for products then th eissue with double nammes disappear.
But the problem with the feature hook size remain as it doesn't show in the cart when added there.

I installed a two day old backup on mu localhost that I hadn't updated any products with for example product code and on that site everything looks like it should´.
When adding a product to the cart the Name and Hook size show up nicely.
Then I tried to add a product code manually under the coupon field in the Products=>Standard information (product editor) but it wont show in the main product view unless you check the "Show code" and then the features wont display in the cart. So it looks like it's either one or the other I have to chose between.
How can I add a product id or article id or article number to me it's all the same for example:
Article ID: LFTD001
Product name: Abejote
Something is wrong here and I can't pinpoint what is wrong.
I might have to erase the site and put up the two day old backup and start from there but then I still need to know how I can display a Article ID in the main product view and also have that in the cart.
+ the variant / feature of hook size so we know what hook size the cusstomer wants?
Best solution would be to sort it out in the shop as is but if that has become corrupt I have to shoot upp the akeeba backup.
Hope this information helpps you to localize the misconfiguration I have done.
Regards
Micke

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

  • Posts: 83051
  • Thank you received: 13412
  • MODERATOR
11 years 11 months ago #88324

Hi,

I just checked your website and I cannot see the product code, but I can see the product name+variant value on the product page and on the cart.

If you want to add the product code, you can turn on the show code option of the configuration.

Note that if the product code and the product name are the same, you will think that you have the product name displayed twice even though that's not the case.
You should go in the "manage variants" button of the product and change the product code of the variants to what you want.

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88357

Hi Nicolas,
I erased the site with all these crazily imported (as I thought updates to products) products that caused all errors the last 24 hours. So now I'm back where everything was working.
Unfortunately I don't know if it's possible to update the products other way that one by one as when I tried to update already exixsting products with a product code it became duplicated products and
then the feature of hook size (is that called variant?) disappeared in the cart.
Is it possible to upgrade all products like in the dry flies category so they aall get a product ID like LFTD001, LFTD002 etc.?
I would like tp do it with the import from text area but now that it all became totally weird last time I don't know if i dare trying again, at lleast not until I'm certain on how to do it the right way.

What is the field name of the variants? That seem to be the real product code I want to use as I want it to show both on the procuts view and in the cart.
The problem is that I want all flies to have at least 4 different hook size options but I want them all to have the same article id or product code as the general fly, for example.
If I chooce the dry fly Abejote with product id LFTD001 and I want hook size 10 that one should of course also be LFTD001 but size 10 then LFTD001 size 12, LFTD001 size 14 etc.
How can I accomplish this as the system say the product code is already in use if I try to change it?

Another thing I tried to upload a bunch of product photos to the default images catalog media/com_hikashop/upload and after that under the images column set up all product names. It worked but only on the products listed dirctly after choosing the product category in the left side menu. If you then click on a product (fly) to see it's prouct information then the image just loads without diplaying.
It might be a problem caused by the Artetics ZoomIn plugin tha I have installed and got help with from the Artetics guys to configure in order to show enlarged images also on teh product page.
This also caused the product information from the product_description field to vanish.

Any hyelp to sort this out would be very appreciated.

Last edit: 11 years 11 months ago by LAMF. Reason: Adding information

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

  • Posts: 83051
  • Thank you received: 13412
  • MODERATOR
11 years 11 months ago #88691

Hi,

It is possible to update both main product and variants data with the import. If you got duplicates, it means that your CSV was not correct.

The product_id of HikaShop can only be an integer. You can put your product Id in the product_code field.

But changing the product_code via the import is not possible since the system needs it to identify the product...

And it's not possible for all the variants to have the same product_id or the same product_code. So I guess that you don't want the product_code column either.

In that case, I think that you should enter your product ID in the name of the main product ( that way, it will be displayed automatically everywhere ).

Regarding the image not displaying on the product page, I indeed guess that it's something related to the ArtZoomIn plugin. Would you have a link to such product page so that we can see that ?

Regarding the fact that the product_description data "vanished", I guess that it's because you had the product_description column in your CSV and that you didn't enter any description in it. so the system updated it with nothing since that's what you had in the CSV. If you don't want to change the description of the product, don't put that column in your CSV.

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88741

Hi,
Thanks for explaining all this it's really good to know. We will leave all products with no product ID instead, otherwise it's a time killing job to go in and do all changes manually :S
I have discussed this with my client and they don't necessary need any codes so it will work out fine without any IDs.

Regarding the images display problems after uploading and then importing via text area here's an example:
www.fly-tiers.se/index.php/en/hikashop-m...nge-with-rubber-legs
and here's another:
www.fly-tiers.se/index.php/en/hikashop-m...yal-with-rubber-legs
I have also tried to erase all images from the ../upload directory and then manually uploaded it in the product editor. At first when trying to do it manually it wouldn't work to save the changes, in those cases the default product image came up so I erased all cache in the browser and in joomla backend. After that I can upload manually in the product editor again but in the front end it only displays in the listing view but as soon as I click the fly to see the product page the image is gone with the loading error.
See it here:
www.fly-tiers.se/index.php/hikashop-menu...r-crystal-rubberlegs
And this one i imported along with a whole category list of flies (Streamers) and this one was the only one I had a picture of, here's the result after clicking the product to view the product page:
www.fly-tiers.se/index.php/hikashop-menu...8-wooly-bugger-olive

i tested all these streamers and they all give this weird product pages, try clicking any of the listed Streamers here:
www.fly-tiers.se/index.php/en/hikashop-m...ategory/14-streamers

How can this be solved now that it wont even work to upload product photos manually?

Last edit: 11 years 11 months ago by LAMF. Reason: More info

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

  • Posts: 83051
  • Thank you received: 13412
  • MODERATOR
11 years 11 months ago #88884

Hi,

For all the links of product page you gave, I can see the image just fine. So I still don't see the problem.

If you get the default image instead of the image itself, it means that the image cannot be found by the system in the upload folder. Maybe the name of the file is different between the CSV and the folder ?

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #88982

Hi,
Sorry i haven't updated this thread, the Artetics guys solved the image display issues.
About the import issue I am a bit more uncertain I have still had some strange problem like images that I have uploaded to the ../upload directory wasn't there and of course that generated strange bahaviour in the backend as well. Like I couldn't erase the erroneous image unless deleting the browsers cache and joomla cache after each such image.
Then I could upload it manually and make it work.
I also tried today to upload a new batch, then controlled they were at the right place and then imporded them via a csv file and that worked fine. So I am crossing my fingers that all works now with the images.

Is there a way to add a delete button in the cart? I mean the cart I have on the left side that comes up as soon as I add something to it. That would be great if possible.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #89130

Hi,

For the cart module, you have to go in the module options and enable the option "Show delete icons in the cart"

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

  • Posts: 299
  • Thank you received: 2
11 years 11 months ago #89157

Aah thanks, must've been blind to miss it.

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

Time to create page: 0.110 seconds
Powered by Kunena Forum