Skip to main content

showing double price

More
14 years 9 months ago - 14 years 9 months ago #33967 by resif
showing double price was created by resif
i want to show two prices

example :

normaly : 10$
for networking members : 7$
Last edit: 14 years 9 months ago by resif.

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

More
14 years 9 months ago #34012 by nicolas
Replied by nicolas on topic Re: showing double price
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.

More
14 years 8 months ago #36189 by resif
Replied by resif on topic Re: showing double price
i didnt understand
now i need to two price show
but one [strike]overline[/strike] one normaly

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

More
14 years 8 months ago #36227 by nicolas
Replied by nicolas on topic Re: showing double price
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.

More
13 years 8 months ago - 13 years 8 months ago #83877 by resif
Replied by resif on topic Re: showing double price
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: 13 years 8 months ago by resif.

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

More
13 years 8 months ago #84211 by Jerome
Replied by Jerome on topic Re: showing double price
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.

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

More
13 years 8 months ago - 13 years 8 months ago #85067 by resif
Replied by resif on topic Re: showing double price
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...
Last edit: 13 years 8 months ago by resif.

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

More
13 years 8 months ago #85210 by nicolas
Replied by nicolas on topic Re: showing double price
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.

More
13 years 8 months ago - 13 years 8 months ago #87289 by resif
Replied by resif on topic Re: showing double price
thank you good idea...
but how can i do first price as current price...
Last edit: 13 years 8 months ago by resif.

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

More
13 years 8 months ago #87436 by nicolas
Replied by nicolas on topic Re: showing double price
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.

More
13 years 8 months ago - 13 years 8 months ago #87506 by resif
Replied by resif on topic Re: showing double price
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: 13 years 8 months ago by resif.

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

More
13 years 8 months ago #87709 by nicolas
Replied by nicolas on topic Re: showing double price
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:
Code:
<?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.

More
13 years 8 months ago #87746 by resif
Replied by resif on topic Re: showing double price
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.

More
13 years 8 months ago #87801 by Mohamed Thelji
Replied by Mohamed Thelji on topic showing double price
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.

More
13 years 8 months ago #87805 by resif
Replied by resif on topic showing double price
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.

More
13 years 8 months ago #87886 by nicolas
Replied by nicolas on topic showing double price
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.

More
13 years 7 months ago - 13 years 7 months ago #87976 by resif
Replied by resif on topic showing double price
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: 13 years 7 months ago by resif.

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

More
12 years 1 month ago #166276 by resif
Replied by resif on topic showing double price
last a question how can show second price only registered users?

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

More
12 years 1 month ago #166386 by nicolas
Replied by nicolas on topic showing double price
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.288 seconds
Powered by Kunena Forum