- Posts: 11
- Thank you received: 1
Order
7 years 10 months ago #302619
by nicolas
Hi,
Changing that text to some other text for all the products is easy to do.
But what do you mean by "some products" ? Why some and not others ? Why do you want to have the "pre order" text instead of the quantity left ?
The pre-order plugin here www.hikashop.com/marketplace/product/109...rder-by-obsidev.html might be what you're looking for but since I don't know in details what you're trying to achieve by doing that I'm not sure.
Changing that text to some other text for all the products is easy to do.
But what do you mean by "some products" ? Why some and not others ? Why do you want to have the "pre order" text instead of the quantity left ?
The pre-order plugin here www.hikashop.com/marketplace/product/109...rder-by-obsidev.html might be what you're looking for but since I don't know in details what you're trying to achieve by doing that I'm not sure.
Please Log in or Create an account to join the conversation.
7 years 10 months ago - 7 years 10 months ago #302698
by abfilm
Hi,
I want to show that some products are not taken into stock in our store.
They need to be ordered by us, when a customer has placed an order..
This applies to only some of the products.
So on some products it says "order item" and other "5 in stock" ( the red letters in img)
And is it possible to make the tags to be shown in the product listings?
I want to show that some products are not taken into stock in our store.
They need to be ordered by us, when a customer has placed an order..
This applies to only some of the products.
So on some products it says "order item" and other "5 in stock" ( the red letters in img)
And is it possible to make the tags to be shown in the product listings?
Last edit: 7 years 10 months ago by abfilm.
Please Log in or Create an account to join the conversation.
7 years 10 months ago - 7 years 10 months ago #302700
by nicolas
Hi,
1. I think that the "pre order" plugin is exactly what you need in order to do that:
www.hikashop.com/marketplace/product/109...rder-by-obsidev.html
2. Yes, you can add such code in the listing_table view file via the menu Display>Views:
1. I think that the "pre order" plugin is exactly what you need in order to do that:
www.hikashop.com/marketplace/product/109...rder-by-obsidev.html
2. Yes, you can add such code in the listing_table view file via the menu Display>Views:
Code:
<div id="hikashop_product_tags_main" class="hikashop_product_tags"><?php
$tagHelper = hikashop_get('helper.tags');
$main_prod =& $this->row;
if(!empty($main_prod->product_id)) {
$main_prod->tags = new JHelperTags;
$main_prod->tags->getItemTags('com_hikashop.product', $main_prod->product_id);
if(!empty($main_prod->tags)) {
$main_prod->tagLayout = new JLayoutFile('joomla.content.tags');
echo $main_prod->tagLayout->render($main_prod->tags->itemTags);
}
}
?></div>
Last edit: 7 years 10 months ago by nicolas.
Please Log in or Create an account to join the conversation.
7 years 10 months ago - 7 years 10 months ago #302733
by Philip
Hello,
You can add this kind of code where you need to display it, most often when a custom code had to be placed in a specific line (in order to use some parameters) we precise it, here, you choose.
Hope this will help you.
Regards
You can add this kind of code where you need to display it, most often when a custom code had to be placed in a specific line (in order to use some parameters) we precise it, here, you choose.
Hope this will help you.
Regards
Last edit: 7 years 10 months ago by Philip.
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds