- Posts: 129
- Thank you received: 0
Price Update Time in hikashop
10 years 5 months ago #237991
by nic7071
Price Update Time in hikashop was created by nic7071
-- url of the page with the problem -- :
www.apple-nic.com
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
Hello
in product content plugin
i want new option
if you see the attached image when i want insert a product to my content
i need have price update time for product
Thank you
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
Hello
in product content plugin
i want new option
if you see the attached image when i want insert a product to my content
i need have price update time for product
Thank you
Please Log in or Create an account to join the conversation.
10 years 5 months ago #238024
by nicolas
Replied by nicolas on topic Price Update Time in hikashop
Hi,
What do you mean by "price update time" ?
I don't know about such thing in HikaShop.
Could you provide more details ?
What do you mean by "price update time" ?
I don't know about such thing in HikaShop.
Could you provide more details ?
Please Log in or Create an account to join the conversation.
10 years 5 months ago #238040
by nic7071
Replied by nic7071 on topic Price Update Time in hikashop
Hello
by price update time i mean a short code that can return the last time that a product price has updated
for example i want to create a page with some of my common products with some details about them like the price the image the title and the last time the price has been updated in a format like "n hours ago " or "Saturday , day - mount "
in fact is the any table in hikashop database that can save the time each time i update the product information like price
if not
i would like to ask you add this feather for me
Thanks
by price update time i mean a short code that can return the last time that a product price has updated
for example i want to create a page with some of my common products with some details about them like the price the image the title and the last time the price has been updated in a format like "n hours ago " or "Saturday , day - mount "
in fact is the any table in hikashop database that can save the time each time i update the product information like price
if not
i would like to ask you add this feather for me
Thanks
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
10 years 5 months ago #238065
by Mohamed Thelji
Replied by Mohamed Thelji on topic Price Update Time in hikashop
Hello,
You'll just have the product price value stored in the database and no "Price edition date", so that option will also require some modifications of the Hikashop code which won't be that easy to achieve, but I can eventually add it on our todo list if you want.
You'll just have the product price value stored in the database and no "Price edition date", so that option will also require some modifications of the Hikashop code which won't be that easy to achieve, but I can eventually add it on our todo list if you want.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #240211
by nic7071
Replied by nic7071 on topic Price Update Time in hikashop
yes please that is very critical for me,
how can i use this feature ?
how can i use this feature ?
Please Log in or Create an account to join the conversation.
10 years 4 months ago #240212
by nic7071
Replied by nic7071 on topic Price Update Time in hikashop
ive found this code in massaction_product.php file that returns the product update time
how can i echo the date and time of product update in show.php file ?
if(isset($data->elements[$id]->product_created) && (int)$data->elements[$id]->product_created == 0){
unset($data->elements[$id]->product_created);
}
$data->elements[$id]->product_modified = time();
how can i echo the date and time of product update in show.php file ?
if(isset($data->elements[$id]->product_created) && (int)$data->elements[$id]->product_created == 0){
unset($data->elements[$id]->product_created);
}
$data->elements[$id]->product_modified = time();
Please Log in or Create an account to join the conversation.
10 years 4 months ago #240214
by nicolas
Replied by nicolas on topic Price Update Time in hikashop
Hi,
You can do like that:
echo hikashop_getDate($this->element->product_modified);
You can do like that:
echo hikashop_getDate($this->element->product_modified);
Please Log in or Create an account to join the conversation.
Time to create page: 0.240 seconds