- Posts: 5
- Thank you received: 0
Change each to per day in Category
- justdiving
-
Topic Author
- Offline
Less
More
13 years 9 months ago #87180
by justdiving
Change each to per day in Category was created by justdiving
Hello,
I am new to Hikashop and i would like to ask if it's possible to change where the price is listed ( each ) to ( Per day for example in some category and keep the ( each ) in other category.
We have bungalows to rent and the price is per day and we have products to sell ( each )
test.justdiving.net/index.php?option=com...-3-person&Itemid=107
Thanks for your help
I am new to Hikashop and i would like to ask if it's possible to change where the price is listed ( each ) to ( Per day for example in some category and keep the ( each ) in other category.
We have bungalows to rent and the price is per day and we have products to sell ( each )
test.justdiving.net/index.php?option=com...-3-person&Itemid=107
Thanks for your help
Please Log in or Create an account to join the conversation.
13 years 9 months ago #87188
by tjharvey
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
Replied by tjharvey on topic Change each to per day in Category
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
The following user(s) said Thank You: nicolas, justdiving
Please Log in or Create an account to join the conversation.
- justdiving
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
13 years 8 months ago #88855
by justdiving
Replied by justdiving on topic Change each to per day in Category
Hello,
thanks for your link, however i cannot find this file.
"hikashop_price.php" in the folder "plugins/content/hikashop_price"
I don't know where to find it,
Could you please help me,
Thanks
thanks for your link, however i cannot find this file.
"hikashop_price.php" in the folder "plugins/content/hikashop_price"
I don't know where to find it,
Could you please help me,
Thanks
Please Log in or Create an account to join the conversation.
13 years 8 months ago #88931
by Xavier
Replied by Xavier on topic Change each to per day in Category
Hi,
You can access this file via FTP. If you don't have it, we can give you this plugin but you should already have it.
You can access this file via FTP. If you don't have it, we can give you this plugin but you should already have it.
The following user(s) said Thank You: justdiving
Please Log in or Create an account to join the conversation.
- justdiving
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
13 years 8 months ago #89035
by justdiving
Replied by justdiving on topic Change each to per day in Category
in the plugins/content/ i get only the hikashopsocial.xml and the hikashopsocial.php
i dont find the hikashop_price
i dont find the hikashop_price
Please Log in or Create an account to join the conversation.
13 years 8 months ago #89083
by Xavier
Replied by Xavier on topic Change each to per day in Category
My mistake, I think that you don't have it by default.
Here is the plugin:
Here is the plugin:
This attachment is hidden for guests.
Please log in or register to see it.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- justdiving
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
13 years 8 months ago #89204
by justdiving
Replied by justdiving on topic Change each to per day in Category
Thanks Xavier,
do i add the files in the plugins/content/ because i tried to install it but it does not install, should i unzip it and add the files via ftp?
Thanks
do i add the files in the plugins/content/ because i tried to install it but it does not install, should i unzip it and add the files via ftp?
Thanks
Please Log in or Create an account to join the conversation.
- justdiving
-
Topic Author
- Offline
Less
More
- Posts: 5
- Thank you received: 0
13 years 8 months ago #89301
by justdiving
Replied by justdiving on topic Change each to per day in Category
please let me know if i need to add the files in the plugins/content/ because it's not working!
Iam using joomla 1.5 and the business hikashop the zip you send me cannot be install.
I really need to change "each" to "per day" could you please help me.
Thanks
Iam using joomla 1.5 and the business hikashop the zip you send me cannot be install.
I really need to change "each" to "per day" could you please help me.
Thanks
Please Log in or Create an account to join the conversation.
13 years 8 months ago #89405
by Xavier
Replied by Xavier on topic Change each to per day in Category
In the view "product / listing_price", try to change
By:
and replace '2' by the ID of the category where you need to display "per day" instead of "each".
You have too to add a translation override in HikaShop > Config > Languages, in the override part. PER_DAY="per day"
Code:
echo JText::_('PER_UNIT');
Code:
$productClass = hikashop_get('class.product');
$categories = $productClass->getCategories($this->row->product_id);
if(in_array('2',$categories)){
echo JText::_('PER_DAY');
}
else{
echo JText::_('PER_UNIT');
}
You have too to add a translation override in HikaShop > Config > Languages, in the override part. PER_DAY="per day"
The following user(s) said Thank You: SG
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds