- Posts: 23
- Thank you received: 0
when items in stock are unlimited...
- sandra1964
-
Topic Author
- Offline
Less
More
12 years 11 months ago #134724
by sandra1964
when items in stock are unlimited... was created by sandra1964
Hi,
i need to displayed in the cart page a message like "product delivery will take place in 2 weeks" when the quantity of the product is "unlimited"... is it possible?
my version of Hikashop is Business 2.2.2
Joomla version 2.5.16
thank you
Sandra
i need to displayed in the cart page a message like "product delivery will take place in 2 weeks" when the quantity of the product is "unlimited"... is it possible?
my version of Hikashop is Business 2.2.2
Joomla version 2.5.16
thank you
Sandra
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #134756
by Mohamed Thelji
Replied by Mohamed Thelji on topic when items in stock are unlimited...
Hi,
Can you show me some screenshots of where do you exactly want to add this message ?
Can you show me some screenshots of where do you exactly want to add this message ?
Please Log in or Create an account to join the conversation.
- sandra1964
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 0
12 years 11 months ago #134762
by sandra1964
Replied by sandra1964 on topic when items in stock are unlimited...
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago #134789
by Mohamed Thelji
Replied by Mohamed Thelji on topic when items in stock are unlimited...
Ok,
Can you give me a link to that page, so that I can tell you what file you'll have to edit to do that ?
Can you give me a link to that page, so that I can tell you what file you'll have to edit to do that ?
Please Log in or Create an account to join the conversation.
- sandra1964
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 0
12 years 11 months ago #134793
by sandra1964
Replied by sandra1964 on topic when items in stock are unlimited...
This is the link to a product page...
www.irontrust.net/iron/index.php?option=...-mod-2013&Itemid=213
www.irontrust.net/iron/index.php?option=...-mod-2013&Itemid=213
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 11 months ago - 12 years 11 months ago #134823
by Mohamed Thelji
Replied by Mohamed Thelji on topic when items in stock are unlimited...
I just wanted to make sure that you were talking about a product page
, the solution will probably be to edit the "quantity" file of the "product" view of your front-end template through "Hikashop->Display->Views" and change these lines :
By :
Code:
if($this->row->product_quantity==-1){
?>
<div class="hikashop_product_stock">
<?php
if($this->params->get('add_to_cart',1)){
echo $this->cart->displayButton(JText::_('ADD_TO_CART'),'add',$this->params,$url,$this->ajax,'',$max,$min);
$btnType = 'wish';
}
if(hikashop_level(1) && $this->params->get('add_to_wishlist') && $wishlistEnabled && !$hideForGuest && $this->config->get('display_add_to_wishlist_for_free_products','1')){
echo '<div id="hikashop_add_wishlist">';
echo $this->cart->displayButton(JText::_('ADD_TO_WISHLIST'),$btnType,$this->params,$url,$wishlistAjax,'',$max,$min,'',false);
echo '</div>';
}
Code:
if($this->row->product_quantity==-1){
?>
<div class="hikashop_product_stock">
<?php
echo 'product delivery will take place in 2 weeks';
if($this->params->get('add_to_cart',1)){
echo $this->cart->displayButton(JText::_('ADD_TO_CART'),'add',$this->params,$url,$this->ajax,'',$max,$min);
$btnType = 'wish';
}
if(hikashop_level(1) && $this->params->get('add_to_wishlist') && $wishlistEnabled && !$hideForGuest && $this->config->get('display_add_to_wishlist_for_free_products','1')){
echo '<div id="hikashop_add_wishlist">';
echo $this->cart->displayButton(JText::_('ADD_TO_WISHLIST'),$btnType,$this->params,$url,$wishlistAjax,'',$max,$min,'',false);
echo '</div>';
}
Last edit: 12 years 11 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
- sandra1964
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 0
12 years 11 months ago #134846
by sandra1964
Replied by sandra1964 on topic when items in stock are unlimited...
Thank's, tomorrow i will try...
Please Log in or Create an account to join the conversation.
- sandra1964
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 0
12 years 10 months ago #135721
by sandra1964
Replied by sandra1964 on topic when items in stock are unlimited...
Hi,
I tried and it works but now my client has another question
:
is it possible to have the cart active even if the product is out of stock and then order the product even if its quantity is 0?
thank's
I tried and it works but now my client has another question
is it possible to have the cart active even if the product is out of stock and then order the product even if its quantity is 0?
thank's
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 10 months ago #135734
by Mohamed Thelji
Replied by Mohamed Thelji on topic when items in stock are unlimited...
Please Log in or Create an account to join the conversation.
- sandra1964
-
Topic Author
- Offline
Less
More
- Posts: 23
- Thank you received: 0
12 years 10 months ago #135757
by sandra1964
Replied by sandra1964 on topic when items in stock are unlimited...
Yes, but my client would like to active the cart and not the wish or the waitlist for products out of stock ... do you think it's possible?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 10 months ago #135762
by Mohamed Thelji
Replied by Mohamed Thelji on topic when items in stock are unlimited...
I don't think that you'll be able to do that without some code customization which will require development skills.
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds