Add to cart next to price

  • Posts: 9
  • Thank you received: 0
7 years 8 months ago #276956

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5

Hi,
I am trying to put the add to cart next to the price.
I am looking at the layout and II guess, putting the product quantity block next to the Listing price item block would do the trick.

I have been trying for a while now and i cannot figure it out.
The "<php } >"is confusing ass well.. result, I get syntax error

I used to following post as my guideline, but there have been changes.
www.hikashop.com/forum/product-category-...-cart-in-a-line.html

Please help

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

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
7 years 8 months ago #276959

Hi,

First please provide a link to the page you're talking about so that we can see the situation.
Then we can provide the method to do that.

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

  • Posts: 9
  • Thank you received: 0
7 years 8 months ago #276969

Thanks for your reply
The page URL : https://www.stacii(dot)com/e-flea/product/macrame-lantern
Please note that he site is still not open for the public.. just need to fix things first.

Ultimately, I would like the price , the quantity input and the add to cart to display on 1 row

Robert

Last edit: 7 years 5 days ago by RobertB. Reason: Crawling purposes, I need to remove direct links.So i am replacing them with (dot). Hope that is ok

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

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
7 years 8 months ago #276985

Hi,

First, the quantity input is by default next to the add to cart button.
That's not the case on your website because you've customized the CSS.
Add such CSS to counter balance that:
.hikashop_product_quantity_input_div_select{ width: auto !important; }

Regarding, the price being next to them, you would have to move the call to the "listing_price" view file in your "show_default" view file to the "quantity" view file in order to achieve that.
You can do that via the menu Display>Views:
www.hikashop.com/support/documentation/1...-display.html#layout

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

  • Posts: 9
  • Thank you received: 0
7 years 8 months ago #277000

Yep, had to customize the css somewhat. :)

Leaned something new. I was not aware that I could move parts of one view file to a different view file.


Thank you

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

Time to create page: 0.067 seconds
Powered by Kunena Forum