Order

  • Posts: 11
  • Thank you received: 1
6 years 2 months ago #302581

Hi, can a delivery item be added instead of quantity, in the hikashop add to cart section?

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302586

Hi,

I'm sorry but I don't understand what you mean.
What do you want to add where ? Could you provide some screenshots of the situation ?

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

  • Posts: 11
  • Thank you received: 1
6 years 2 months ago #302610

Instead of how many that is left in stock, i want some of the products to say "pre order" as shown in the attachment.
Is that possible?

Attachments:

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302619

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.

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

  • Posts: 11
  • Thank you received: 1
6 years 2 months ago #302698

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?

Attachments:
Last edit: 6 years 2 months ago by abfilm.

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

  • Posts: 83511
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302700

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:

<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: 6 years 2 months ago by nicolas.

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

  • Posts: 11
  • Thank you received: 1
6 years 2 months ago #302730

which line should i put this code ?

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
6 years 2 months ago #302733

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

Last edit: 6 years 2 months ago by Philip.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum