Product Display

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316923

-- url of the page with the problem -- : www.customqualitypetfurniture.com/
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.3.6

When you select the characteristic everything drops under the picture. Where or how do I edit to keep everything to the right?

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 11 months ago #316924

Hi,

In the file www.customqualitypetfurniture.com/templa...e/css/thirdparty.css of your template you have that CSS :

.hikashop_product_left_part {
  width: 55% !important;
}

.hikashop_product_right_part {
  width: auto !important;
}
This is what is creating the problem. Without that CSS it would work fine.
Now I don't know why your template provider is adding that CSS since I don't see it solving any problem the default CSS of HikaShop already solves.
So I would recommend to check with your template provider as they will be able to provide the best solution, knowing why that CSS code is there.

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316944

Ok thank you,

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316946

I just removed it, works great now. :)

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316947

Last question...I hope! When a product is added to the cart the popup is not working to go to checkout. Right now you would have to go the top shopping cart to proceed to checkout. Any idea why the pop up isn't working?

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316948

Actually it is there just way down below description. Is there a way for me to move it up?

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 11 months ago #316953

Hi,

What you can do is to change the settings of the HikaShop cart notify plugin via the Joomla plugins manager. There, you'll find settings to display a popup with two buttons in the middle of the screen after the cart so the customer can easily go to the checkout.

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316961

Perfect, thank you

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316965

Sorry, one more question.

Can I move the Description up under Characteristics?

Attachments:

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 11 months ago #316972

Hi,

It's possible but a bit more complex as it requires to edit the view file displaying the product page:
www.hikashop.com/forum/product-category-...on-to-the-right.html

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #316991

Ok, Can you tell me what needs to be edited or added to the code? I would prefer not to go off of someone else's. Thank you

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 11 months ago #317010

Hi,

Well, you need to edit the view file used there via the Display>Views menu (I suppose it must be product / show_tabular.php but you should confirm thanks to the "Display view files" setting of the HikaShop configuration).
There, you need to change the code:

$description = trim(JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description)));
to:
$description = '';
in order to remove the description at the bottom.
And then, you can add the code:
echo trim(JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description)));
after the line:
if($this->params->get('show_price')) {
?>
		<span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main"></span>
<?php
	}
and that will add the description just before the add to cart button area.

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #317015

Perfect Instructions. Thank you

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #317093

Everything is working correctly now HOWEVER. My description is not showing the FULL description and it has to. At one point it was something about clearing the cart but there are 114 products in there, is there a way to do this so it clears them all or am I missing something to make the full description show?

EXAMPLE: www.customqualitypetfurniture.com/cat-tr...roduct/591-cat-trees

Full description in backend is:
The base is a full 2' x 4' and overall height is 57". Top is 16" x 4' with 2 - 24" angled shelves and a 2' x 3' middle section.
This item Ships assembled for $99.00. Shipping will be added at checkout.
April Sale 20% off, enter code Whiskers at final checkout

Front end is only showing what I originally had in there:
The base is a full 2' x 4' and overall height is 57". Top is 16" x 4' with 2 - 24" angled shelves and a 2' x 3' middle section.

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
3 years 11 months ago #317096

Hi,

I suppose that it's because you have the small version of the description in your variants. Please clear the description from the variants under the variants tab of the product edition page.

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

  • Posts: 73
  • Thank you received: 1
3 years 11 months ago #317103

That did it, I looked in there 10 times, but did not pull it by code so nothing was showing there. Thank you!

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

Time to create page: 0.096 seconds
Powered by Kunena Forum