AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: jesus_automatic on April 07, 2014, 07:57:42 AM

Title: Product page layout -bug
Post by: jesus_automatic on April 07, 2014, 07:57:42 AM
If I make changes to the product page layout (adding a block) its doesnt affect the product page itself but makes the changes to all the category pages. It also adds a new layout in the layout page with the name 'All other pages'. I now have 4 entries with that same name and no way to edit the product page layout.
What it going on? And how can I delete the multiple 'all other pages' layouts.
Title: Re: Product page layout -bug
Post by: Basara on April 07, 2014, 08:00:13 AM


Hello. Very strange behavior. Please clear AbanteCart cache. Try again to save layout and check for AbanteCart error log
Title: Re: Product page layout -bug
Post by: jesus_automatic on April 07, 2014, 08:08:54 AM
I have cleared the store cache several times and tried with various products and various different layout changes. The problem persists. Nothing in the log. Using 1.1.7
Title: Re: Product page layout -bug
Post by: abantecart on April 07, 2014, 11:53:20 AM
I do not think this is a cache related issue. Possibly what happened, is that your layout structure got corrupted.  Can you post a screenshot?
Title: Re: Product page layout -bug
Post by: llegrand on April 07, 2014, 01:37:42 PM
http://forum.abantecart.com/index.php/topic,1201.msg4695.html#msg4695 (http://forum.abantecart.com/index.php/topic,1201.msg4695.html#msg4695)

The ability to remove additional pages is a known issue in the 1.1.7 version ,  I can report that it has been fixed in the 1.1.8 version and pages can be deleted from the sidebar list.

Lee
Title: Re: Product page layout -bug
Post by: abantecart on April 07, 2014, 01:42:52 PM
Thank you llegrand. I think I remember the fix :)
Title: Re: Product page layout -bug
Post by: jesus_automatic on April 07, 2014, 04:41:13 PM
Thanks lee. Getting rid of the extra pages is only part of the problem. I would like to be able to edit the product layout pages too.
The category page  is here
Title: Re: Product page layout -bug
Post by: jesus_automatic on April 08, 2014, 08:54:10 AM
So how can I solve it?
Title: Re: Product page layout -bug
Post by: jesus_automatic on April 09, 2014, 06:41:40 AM
@abantecart
When you say my 'layout structure got corrupted', can you be more precise. Which files should I be looking at?

I don't really want to upgrade to 1.1.8 as it will conflict with some files that were altered to allow me to display wholesale prices. But do you think that upgrade would solve this layout problem?

I upgraded to 1.1.7 to try and solve this other problem
http://forum.abantecart.com/index.php/topic,1617.0.html
which I still haven't resolved. And now this layout problem has appeared. I feel like I am going round in circles.

Any advice or suggestions welcome.
Title: Re: Product page layout -bug
Post by: abantecart on April 09, 2014, 09:24:54 AM
I cannot say much without research. Unfortunately, I am busy at the moment.
You can try to update only layout related files (admin controllers, modes and templates) from 1.1.8
This should not be any harm or conflict at all.
In case you modified these core files, you would need to debug on your own.   
Title: Re: Product page layout -bug
Post by: jesus_automatic on April 09, 2014, 10:12:26 AM
Thank you. I appreciate your advice.
I will give that a go and post back with the outcome.
Title: Re: Product page layout -bug
Post by: jesus_automatic on April 10, 2014, 12:23:14 PM
Well, I looked for all the layout related files, I found some but wasn't sure I had them all. And I don't know what you mean by modes? Models maybe.

In the end I decided it would be easier to do a complete upgrade. I carefully recorded all the changes one of you guys made for me, to display wholesale price when logged in as wholesaler. Thinking I would have to reintroduce them after the upgrade.
But it seems that it is all displaying as I want without those alterations.

Does that mean that 'display wholesale prices when logged in' feature is part of AC  now?
Or have I just done something wrong in a random and very lucky way that has made everything work as I wanted?

Oh yes, the layout issue is fixed, thank you. Now back to my original problem.