showing double price

  • Posts: 182
  • Thank you received: 1
12 years 10 months ago #33967

i want to show two prices

example :

normaly : 10$
for networking members : 7$

Last edit: 12 years 10 months ago by resif.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 10 months ago #34012

That's not really possible with the price system. You could put that in the description of your products or in a custom product field, while hiding the price which will be used by the system with some CSS like that:
.hikashop_product_page .hikashop_product_price_full{ display:none; }

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

  • Posts: 182
  • Thank you received: 1
12 years 9 months ago #36189

i didnt understand
now i need to two price show
but one overline one normaly

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
12 years 9 months ago #36227

I said that you can't add two prices like that in products.
You should only add one, use the CSS code above to hide it, and then add your prices information in the description of your product.

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

  • Posts: 182
  • Thank you received: 1
11 years 9 months ago #83877

with last version this is posibble...
i saw two price but 2. currnet why?
i want to 1. price current price when add to cart...

Last edit: 11 years 9 months ago by resif.

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

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
11 years 9 months ago #84211

Hi,

Sorry but if we said that it is not really possible, it means that it's not really possible.
In HikaShop business, thanks to ACL, it is possible to have several prices for different groups. At this moment in some views, it is possible to display several prices to customer who are in a special group. Guest/Public users can't see several prices.

Maybe it's what you want to do for your "networking members" but, guest/publis users couldn't see the special price.
The only possibility is like Nicolas explained: using product custom fields.

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: 182
  • Thank you received: 1
11 years 9 months ago #85067

ok i know but what is this... ? i want write just a text(network member) before front second price.n.. doestn matter but i cant buy now business vesion maybe after 3 month...

Attachments:
Last edit: 11 years 9 months ago by resif.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
11 years 9 months ago #85210

You can add your text in the file "listing_price" of the view "product" via the menu Display>Views.
Something like that:
if($i) echo 'my text';

after the line:
echo '<span class="'.implode(' ',$classes).'">';

will add your text before the second price

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

  • Posts: 182
  • Thank you received: 1
11 years 9 months ago #87289

thank you good idea...
but how can i do first price as current price...

Last edit: 11 years 9 months ago by resif.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
11 years 9 months ago #87436

I don't understand your question. Could you explain more what you want to do ?

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

  • Posts: 182
  • Thank you received: 1
11 years 9 months ago #87506

ok you should know that when i added second price being default price
i want to show two price but first price still will be default price

Last edit: 11 years 9 months ago by resif.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
11 years 9 months ago #87709

So you want to revert the display of the prices on the product page/listing.

To do that, you can edit the file "listing_price" of the view "product" via the menu Display->Views and add the line below at the beginning:

<?php if(!empty($this->row->prices)) { $this->row->prices = array_reverse($this->row->prices); } ?>

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

  • Posts: 182
  • Thank you received: 1
11 years 9 months ago #87746

No revert just first price will be still chart price..
because with second price being second price cart price i want to show to price but current cart price will be first price

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #87801

Hello resif !

Could you explain more precisely what you really want to do ? then I'll maybe be able to help you.

Thank you :).

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

  • Posts: 182
  • Thank you received: 1
11 years 9 months ago #87805

never mind... Nicholas understand me
if you read and you still understand i cant explain you
you can read from first message

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
11 years 9 months ago #87886

You can't change the price used by the cart.
use my code to revert the display on the products listing/page and then change the order of the prices in the products edition page and you will have the price you want in the cart and the order of the prices your want in the products listing/page.

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

  • Posts: 182
  • Thank you received: 1
11 years 9 months ago #87976

ok i already thought i saw it is posibble with your method..
i will replace from admin all prices first with second.. so second price will be cart price first price wil be second price... thanks

Last edit: 11 years 9 months ago by resif.

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

  • Posts: 182
  • Thank you received: 1
10 years 2 months ago #166276

last a question how can show second price only registered users?

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 2 months ago #166386

Hi,

If you use the "access level" option of the prices with the Business edition of HikaShop, you can restrict prices to specific user groups that they only display for the user groups that you set for the price.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum