Price display

  • Posts: 75
  • Thank you received: 1
11 years 4 weeks ago #167062

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Chrome 36.0.1985
-- Error-message(debug-mod must be tuned on) -- : n/a

Hi. Two q's pls:

1. Price: I'd like to prefix the prices displayed with "from" e.g. "from $xxx". How and where do I make the change?

2. When I display the cart and it's empty, the error message returned is placed too low for users to see on my homepage. How do I change the display position of this box?

Thanks in advance.

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

  • Posts: 2143
  • Thank you received: 747
11 years 4 weeks ago #167090

Hi,

1. You can do so with a language override for the string PRICE_BEGINNING, i.e.

PRICE_BEGINNING="from "
More on language overrides see in the documentations for HikaShop and Joomla.

2. Such messages are displayed in the main content area of your template. If that's far down on your web page, then probably because you have a lot of content in positions above the content area. So, no easy solution without changing your web page content significantly.
(Having said that, I wonder if there isn't any extension or so which displays such system messages i.e. in a temporary popup. Haven't investigated myself, but if you come across one, sharing the info here will be appreciated!)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 2143
  • Thank you received: 747
11 years 4 weeks ago #167096

Re. 2:

Hmmm, couldn't wait, so I did a search on JED. Two extensions came up:

(a) Popup System Messages extensions.joomla.org/extensions/style-a...pups-a-iframes/26551
It's a paid download, so I didn't buy to try. If anyone can confirm it works with HikaShop messages, would be nice to hear.

(b) HS-Message extensions.joomla.org/extensions/news-display/notes/23093
It's free, so I downloaded and tried. Doesn't work with HikaShop "Cart is empty" message, though, maybe just because the plugin is a bit "old" and doesn't work with J3.3.x. Anyway, deleted it again.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 2143
  • Thank you received: 747
11 years 4 weeks ago #167102

Re. 2 - final:

Found a plugin that works: jPopmessages bygiro.com/en/extensions/plugins/jpopmessages

Note that after installing it, you'll need to enable it in the Joomla Plugin Manager, and likely need to play around with settings in its backend, i.e. deactivate the loading of jQuery and Bootstrap to avoid conflicts.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 11 years 4 weeks ago by lousyfool.

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
11 years 4 weeks ago #167108

Hi,

I guess that all is already written !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 2143
  • Thank you received: 747
11 years 4 weeks ago #167149

Jerome wrote: I guess that all is already written !


:lol:


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 75
  • Thank you received: 1
11 years 4 weeks ago #167181

Thanks guys. I'll try out the recommendations!

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

  • Posts: 75
  • Thank you received: 1
11 years 4 weeks ago #167201

Lousyfool, both your solutions worked, thanks. One more question (you can no doubt tell I'm quite new to this world):

Q - if I want to have two sets of prices - some stated "from $xx" and others not prefixed i.e. just '$xxx', is that possible? Do I need to create a second class of price somehow, and declare a different value?

Any help would be welcome, thanks

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

  • Posts: 12953
  • Thank you received: 1778
11 years 4 weeks ago #167248

Hello,
If you want to add a "from" before your prices the solution will be to edit the "PRICE_BEGINNING=""" translation word through your translation file "Hikashop->System->Configuration->Languages", but if you want this text to display only for some prices, you'll have to use some code customization, which will require development skills.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum