the layout of the product page gets strange

  • Posts: 49
  • Thank you received: 0
8 years 4 months ago #223900

-- url of the page with the problem -- : market.zaihaiwai.net/index.php/category/product/141-.html
-- HikaShop version -- : 2.6.0
-- HikaAuction version -- : 1.0.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : chrome 47
-- Error-message(debug-mod must be tuned on) -- : When the auction enabled, the layout of the product page gets strange

When the auction enabled, the layout of the product page gets strange. If the the auction disabled, it will go back to normal.

How to fix this?

thanks

regards

Last edit: 8 years 4 months ago by likunzhou.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 4 months ago #223922

Hello,
It's probably a CSS issue, can you give me more information about it through some screenshots for example ?
Note that if you enable the Auction mode through your Hikashop product configuration, the Auction fields will be added on your product page, but can you give me more information through some screenshots so that I can understand your issue and help you fix it ?
Thanks.

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

  • Posts: 49
  • Thank you received: 0
8 years 4 months ago #223971

When the auction disabled, the product page displayed normally as shown below



the sidebar is close to the mainbody

however if the auction enabled, the product pagewill be like this:



the sidebar runs far away

you can use these two pages to compare the difference
the product with auction
market.zaihaiwai.net/index.php/category/product/141-.html
the normal product
market.zaihaiwai.net/index.php/category/product/142-.html

PS: the main site is using template A, and the market.zaihaiwai.net is using template B , however, every fist time the market. zaihaiwai.net was opened , the template A was loaded. Then the page was refreshed or opened again, it will runs correctly with template B loaded.
Therefore you may need refresh those page after first time opened before I find what cause the problem.

Attachments:
Last edit: 8 years 4 months ago by likunzhou.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 4 months ago #224098

Hello,
Firstly, can you test it with one of the default joomla template to see if it's coming from it or a view override ?
Thanks.

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

  • Posts: 49
  • Thank you received: 0
8 years 4 months ago #224193

Hi
I tested several template using the t3-framework, and they are all the same
Here is the test server, you can try to find the problem directly. The Jason template from joomlart which is using in my website was design for the hikashop, the test website was built with Jason quickstart package
test website:http://122.32.218.37/jason


You can find that before the auction enabled from these
122.32.218.37/jason/index.php?option=com...ng-modern&Itemid=484
122.32.218.37/jason/index.php?option=com...ustration&Itemid=484



and then the auction enabled, it turns to

Attachments:
Last edit: 8 years 4 months ago by nicolas.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 4 months ago #224263

Hello,
Can you :
- Go to the page "Hikashop->Display->Views"
- Edit the file "Show_auction" of the "productauction" view of your front-end template
- Change that line :

<?php if(!empty($this->element->extraData->bottomEnd)) { echo implode("\r\n",$this->element->extraData->bottomEnd); } ?>
</div>
By :
<?php if(!empty($this->element->extraData->bottomEnd)) { echo implode("\r\n",$this->element->extraData->bottomEnd); } ?>
</div> </div>
And test it again ?

Thanks.

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

  • Posts: 49
  • Thank you received: 0
8 years 4 months ago #224301

Yes, great, it works!

Thank you~

btw, if the auction component upgrade in the future, should I do the same change again?

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

  • Posts: 12953
  • Thank you received: 1778
8 years 4 months ago #224330

Hello,
Don't worry I'll also add that modification through next versions of HikaAuction, I just wanted you to fix it without having to completely download/install the last HikaAuction version.

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

  • Posts: 49
  • Thank you received: 0
8 years 4 months ago #224449

Okay, thank you~

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

Moderators: Mohamed Thelji
Time to create page: 0.108 seconds
Powered by Kunena Forum