RRP

  • Posts: 206
  • Thank you received: 26
11 years 7 months ago #95796

Hello again,

I'm back with another pain in the ass modification (or i'm sure it's easy and i'm just stupid)

gyazo.com/2ed353e8766ba5f4d791dd7592b2df80.png?1363965360

On the category page. Here's an image that was drawn wonderfully by my boss, What we would like to do, is have the product code displayed at the top (above the image)then underneath the image we'd want an RRP (which is crossed out) then our price displayed underneath. Then the "login for trade discount" toggled on/off depending if you are logged in or not.

I understand this probably isn't the easiest thing to do, which is why we'd be willing to pay for this modification too (if someone can show that they can do)


Thanks,

Thomas Harvey


I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #95899

Hi,

You can edit the view "product / show_default" and put the product name/code at the top, then the image, and the rrp price which can be set in the product edition page. The product price will be automatically displayed under it.

For the login, you can use the plugin "load module" to hqve the login.
It can be called in the view or by adding it in the product description part.

The following user(s) said Thank You: tjharvey

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

  • Posts: 206
  • Thank you received: 26
11 years 7 months ago #95958

Hi Xavier,

I don't understand " and the rrp price which can be set in the product edition page."

Thanks,

Tom.


I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

  • Posts: 2334
  • Thank you received: 403
11 years 7 months ago #96083

Hi Tom,

There is an option in the product edition page where you can set the retail price.
So basically every information filled in the product page can be found in the layout thanks to things like $this->element->product_code
If you want to see them all you can use var_dump($this->element) and everything will be displayed (in a very ugly way but it's there!)

The following user(s) said Thank You: tjharvey

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

  • Posts: 206
  • Thank you received: 26
11 years 7 months ago #96108

Hi Eliot,

My head is currently in pain, fancy doing for me? ;) (or put into easy simple steps so it's not possible for me to mess up!

"There is an option in the product edition page where you can set the retail price." can't seem to find it :/


Thanks,

Thomas Harvey


I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

  • Posts: 2334
  • Thank you received: 403
11 years 7 months ago #96122

It's around the dimension informations. Here is a screenshot ;):


Attachments:
Last edit: 11 years 7 months ago by Eliot.
The following user(s) said Thank You: tjharvey

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

  • Posts: 206
  • Thank you received: 26
11 years 7 months ago #96149

Is that a "new" feature (being within the last 4-5 months)


Also, i'm going to get complicated, because this isn't a simple system :L

tradelights.co.uk/product/35-pharox-400-...-40w-equivalent.html

Is my test product page. I have already changed Common Price to RRP (see i do know how to do things ;) ) however i would like to strikeout the price (for rrp) All attempts i tried so it's over to you :L

Also how can i cross it out of the cart (don't want it displayed in there) and how could i display it on the category page too.

Thanks,

Thomas Harvey


I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

  • Posts: 206
  • Thank you received: 26
11 years 7 months ago #96150

I'll also write a new reply as to what i'd like the whole system to do.

I'd like it so that there is a RRP, then a trade price then an even lower account price (i'm fine with trade and lower account switching posititions and could do that with permissions, which would be great and that's solved) however what i'd like to have is on the trade (guest user) say "register for an account for an ever better trade price" or something along those lines, and have that vanish when they're logged in to an account (which would be registered). However i would like them to be able to pay at any stage in the process, however the way i would want it to work is for them to pay as a guest they wouldn't need an account, would this be possible?

Thanks,

Thomas Harvey


I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

  • Posts: 2334
  • Thank you received: 403
11 years 7 months ago #96313

Hi thomas,

About the price with strikeout, you have to apply your css on this class hikashop_product_msrp_price instead of hikashop_product_price.
For the message you want to display, you have to add some php to your view using this function:

if(hikashop_level(0))
It will display the code include in the if only if the visitor isn't logged so I guess it fits your need ;)

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

  • Posts: 206
  • Thank you received: 26
11 years 7 months ago #96544

How would i go about doing the second part of that message?


I'm not an expert at this, if i post on your thread i'm doing so with the best of my knowledge and just trying to help :)

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #96618

To display a message for the unregistered users, you can make a check thanks to "hikashop_loadUser();"
Like:
if(hikashop_loadUser() == null){ echo "register for an account for an ever better trade price";} [code][code]
if(hikashop_loadUser() == null){ echo "register for an account for an ever better trade price";}
[code]

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

Time to create page: 0.108 seconds
Powered by Kunena Forum