Image Display

  • Posts: 86212
  • Thank you received: 14220
  • MODERATOR
1 month 2 weeks ago #373027

Hi Rolf,

I looked at your website again just now, and the two customized files are still in place : on the product page the image block is still at the end of the right column, and in the category listing the product name is still displayed below the price and your delivery text. So the "Remove customization" step in Display > Views has not been done yet, and it is the only thing needed to get your original layout back.

About how it happened : the popup of the drag & drop editor saves a copy of the view file on your website as soon as you click Save, even when you have moved the blocks back to their original place first. Moving an element back does not delete that copy, it saves a new version of it, so the page keeps using the copy instead of the original file of HikaShop.

And on the product page, the image was not only moved up or down : it was dropped in the right hand column instead of the left one. That is why that page looks stretched, the left column is now empty and everything, the image included, is in the right column. It happens easily when the block is released a few pixels away from where you aimed.

About Astroid : yes, the Custom CSS field of your template is the correct place, what you write there ends up in the CSS file the template builds. The reason nothing happened is the CSS itself, not the place where you put it. The class hikashop_product_name_main only exists on the product page. In your category listing, the class of the product name is hikashop_product_name. This line covers both pages :

.hikashop_product_name a, .hikashop_product_name_main { font-weight: bold; }

I also checked the CSS your template delivers today, and it contains no rule at all about the product name, so nothing of what you tried before is left, you can paste this one on a clean slate. Save, then reload your page with Ctrl+F5. If you still see no change, tell me and I will look at the page.

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373051

Hi Nicolas,

I am very sorry, but I tried to remove the changes.....result is now that also Landingpge is out of origin order.

When I followed your instructions I found the two views as shown in attachment: I clicked "Änderungen entfernen" = remove changes) as shown in attachment "Listing-img-2-Screenshot..".

Please advise how to go on. Thank you.

Rolf

Attachments:

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373052

...sorry: I clicked "Anpassung entfernen" = remove changes) as

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373053

The customized files are the ones which have a red "Remove customization" button on their line (the "See modifications" button next to it shows you what was changed, so you can check before removing)

Is this what you wrote shown (in german) in the "Listing-Img-2-Screenshot" ?

I could not see a RED button......

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

  • Posts: 86212
  • Thank you received: 14220
  • MODERATOR
1 month 1 week ago #373055

Hi Rolf,

The red button is at the far right end of the line, and your screenshot is cut just before that column. Only a customized file has it, so on the seven lines of your screenshot there is nothing to remove: on a customized line you would see two buttons at the end, "Änderungen anzeigen" in blue and "Anpassung entfernen" in red.

Instead of searching for a file name, use the "Template" filter at the top of the Display > Views page and select your template, tp_artist. Every line which shows those two buttons is a customized file, and those are the only ones to look at.

One warning about your second screenshot: that is the edit screen of product / listing_img.php. If you click Save there, a customized copy of that file is created, even when you changed nothing at all. As long as the file does not exist, the line "Pfad der Überschreibungsdatei" ends with "(wird erstellt, wenn Sie Ihre Änderungen speichern)". Leave that screen with Abbrechen, not with Speichern.

I looked at your website again just now :

- the products listing is back to the original layout of HikaShop, with the image, then the price, then the name. So that removal worked.
- the product page is still customized. The image is still in the right column and the left column is empty, which is what stretches the page. So product / show_default.php still has its copy, and that is the one left to remove.

About the landing page, one thing worth checking : removing a customization deletes the file for good, there is no backup of it. If your template tp_artist came with its own version of that view file, then the drag and drop editor overwrote it the day you saved, and removing the customization deleted the version of your template along with it. The page then falls back to the standard file of HikaShop, which does not have the same order. If that is what happened, installing the tp_artist package again on your site puts the files of the template back, and does not touch your content or your settings.

Can you tell me which page you call the landing page, with its address, and what is different on it compared to before ? The page at megakit.de/de/ is a Joomla article, not a HikaShop page, so the views play no role there.

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373063

Hi Nicolas,

thanks for your response:

1. I could not find anything to remove in the "VIEWS" in the backend. It may be that I opened a fiel there and saved in the Editing pop-up
2. The "Landing" page is www.megakit.de - after making the changes it is now totally moved to the left side of the screen.....I did install the template again 5 minutes ago but no change??!!

3. The only views which are still wrong is the single product display/view of all products in "STAR WARS" category. Excluded (for whatever reason) is "Kylo Rens Shuttle" - here all is shown as it ought to be.

If will send you the credentials for backend in private message....feel free to have a look.

Thanks again

Rolf

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

  • Posts: 86212
  • Thank you received: 14220
  • MODERATOR
1 month 1 week ago #373068

Hi,

The changes are saved as override files in templates/YOUR_TEMPLATE/html/com_hikashop/product/
So, you can rename the folder ( via FTP or your hosting file manager ) in order to deactivate all the overrides you did for the products if you can't find them in the Display>Views menu.

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373070

Hi,

did not work. Installed website totally....frsutrating.

Products of category "STAR WARS" still out of order (excepte "Krennics Shuttle").

Any idea ?

Regards and thanks

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

  • Posts: 86212
  • Thank you received: 14220
  • MODERATOR
1 month 1 week ago #373077

Hi Rolf,

"Out of order" can mean two different things here, so let me answer both, and tell me which one you mean.

1. If you mean the order in which the products are listed in the category

That is a setting, not a leftover of your customization. It is in the HikaShop configuration, Display tab, with the options "Ordering field" and "Ordering direction", and the same two options exist on the menu item of your shop, where they take priority. If the ordering field is set to "ordering", the sequence is the manual one, which you set in Products, by filtering the listing on the category and dragging the lines.

At the moment your STAR WARS category shows the X-Wing Fighter, then Kylo Rens Shuttle, then R2D2, then Krennic's Imperial Shuttle. Your other categories follow the same manual order, so from the outside nothing looks broken. Tell me the order you expect to see and I will tell you which setting gives it.

2. If you mean the arrangement of the elements on the product pages

This comes from the product page layout. In each product you have a "layout" setting which controls it. Categories also have a "Layout on product page" setting which is used if the product doesn't have a layout configured. The default one if no layout is configured in the product nor in the category is the one configured in the "Layout on product page" setting of the HikaShop configuration.
From what I can see on the product page, the layout selected seems to be "reversed" instead of "default", which is why the image area and the add to cart area are flipped on the page.

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373078

Hi there,

thanks for info - I will check it.My point is the 2nd one:
- I did not change a layout setting in the way you described
- I made changes in the views only and
- I cannot understand why in category "STAR WARS" three products are different in layout (font, positions) than one other product

Nevertheless will check again.

Thanks

Rolf

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373079

From what I can see on the product page, the layout selected seems to be "reversed" instead of "default", which is why the image area and the add to cart area are flipped on the page.

Where is the point I coud change "reversed" to "default"? In the VIEWS? Or in the product layout options (there I could not find it)?
Or in GENERAL CONFIGURATION ?

Thanks for info again

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373080

Sorry, further question:

I activated again "Display VIew" at the frontend - now there are no more "little pencils" to edit the views....??

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

  • Posts: 86212
  • Thank you received: 14220
  • MODERATOR
1 month 1 week ago #373082

Hi Rolf,

The layout is taken from three places, and the first one which is not set to "Vererbt" (Inherit) wins :

1. the product itself, field "Seitenlayout" in the product edition page,
2. the category, field "Aufteilung der Produktseite" in the category edition page,
3. the HikaShop configuration, tab "Anzeige", field "Aufteilung der Produktseite".


About the pencils : they are on your pages right now, they are just discreet. Each HikaShop area is wrapped in a grey bar which shows the name of the file, for example "product / show.php", and the pencil is the small icon right after that name, at the end of the bar. Clicking it only works while you are logged in the administration in the same browser.

And a warning about that setting : it does not only show those bars to you, it shows them to everybody. Right now every visitor of your shop sees those grey bars with the file names on your product pages. Remember to set "Display-Anzeigen von Dateien" back to No in the HikaShop configuration once you are done.

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

  • Posts: 36
  • Thank you received: 3
  • Hikashop Essential
1 month 1 week ago #373085

Hi,

- At Product-Editing page "Seitenlayout" was to "Inherited" all the time
- Pencils are still not there.....I hover over eachline and different products. I saw them earlier but now: No Pencils...

Regards

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

  • Posts: 86212
  • Thank you received: 14220
  • MODERATOR
1 month 1 week ago #373090

Hi Rolf,

Then it is the next place in the list. I looked at your shop again just now, and every product page of every category uses the "Aufgehoben" (Reversed) layout, not only the STAR WARS ones. When the product itself is on "Vererbt", such a global result comes from the configuration.

So go to HikaShop, Konfiguration, tab "Anzeige", option "Aufteilung der Produktseite", and set it to "Standard". That is the setting which flips the image area and the add to cart area. If it is already on "Standard" there, then it is on the categories, field "Aufteilung der Produktseite" in the category edition page.

About the pencils : they are gone because the option is back to "Nein". I checked your product and category pages just now, and the grey bars with the file names are not in the page at all anymore, for anybody. The option is in Konfiguration, tab "Erweitert", "Display-Anzeigen von Dateien", set it to "Frontend" and save.

But you do not need the pencils for this problem, and I would leave that option on "Nein". The layout is a configuration setting, not something to fix in a view file, and every time a view is opened in the editor and saved, a new customized file is created.

Good news on that side : there is only one customized file left on your site, product / listing_img_title.php in the tp_artist template. The one of the product page is gone. You can remove it from Anzeige > Ansichten with the red button at the end of its line, or simply delete the file templates/tp_artist/html/com_hikashop/product/listing_img_title.php with your FTP client or the file manager of your hosting.

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

Time to create page: 0.081 seconds
Powered by Kunena Forum