Jump to content

PrabuSS

Members
  • Posts

    99
  • Joined

  • Last visited

1 Follower

Profile Information

  • Activity
    Developer

Recent Profile Visitors

4,437,815 profile views

PrabuSS's Achievements

Newbie

Newbie (1/14)

5

Reputation

  1. Hi I've uploaded 385991 categories using http://ttc.bovsoft.com/ software on my fresh installation(PS 1.7.1.2). But after this uplaod process i can't access product and category edit pages at BO. Its showing loading error. Is PS 1.7.1.2 is capable to having 300000 more than products? Please any one.
  2. Yessssss. Finally I've used following code to achieve this. Credit goes to you only my great friend . PS forum is in still active because of person like you {foreach from=$features item=feature} {if $feature.id_feature == 16} {if $feature.value != " "} <span> + </span>{$feature.value|escape:'html':'UTF-8'} {/if} {/if} {/foreach} So In PS 1.6 this is the condition to restrict empty feature value in product detail page {if $feature.value != " "}. Hope its helpful for some one.
  3. Hi Thanks for your reply. I've used {$feature|@var_dump} like as above. I'm getting following output array(3) { ["name"]=> string(6) "P2_col" ["value"]=> string(1) " " ["id_feature"]=> string(2) "16" }
  4. Hi How can i use this {$feature|@var_dump} in my code..And I'm able to see the feature value at BO it self. please make it clear..
  5. Thanks for your reply.. As per your suggestion I've tried like this. But this is also not working..Still cant find correct syntax to done this. {foreach from=$features item=feature} {if $feature.id_feature == 16} {if $feature.value != ''} <span> + </span>{$feature.value|escape:'html':'UTF-8'} {/if} {/if} {/foreach}
  6. Hi I would like to display the features value in product detail page is not empty. So I've tried like this {foreach from=$features item=feature} {if $feature.id_feature == 16} {if !empty($feature.value)} <span> + </span>{$feature.value|escape:'html':'UTF-8'} {/if} {/if} {/foreach} But my Output : + It seems !empty() function is not working in feature value. Please help any one.
  7. Hi Unfortunately your code is not working on product details page I've tried like this <td> {foreach from=$features item=feature} {if $feature.id_feature == 3} {if $feature.value !== 0 OR !empty($feature.value)} {$feature.value|escape:'html':'UTF-8'}{/if}{/if} {if $feature.id_feature == 16} {if $feature.value !== 0 OR !empty($feature.value)} <span> + </span>{$feature.value|escape:'html':'UTF-8'}{/if}{/if} {/foreach}</td> If second value is empty it still shows + sign
  8. I've already created new topic. Please see this one https://www.prestashop.com/forums/topic/610409-would-like-to-change-add-to-cart-background-color-after-clickor-after-adding-product-to-cart/
  9. Hi I would like to show some text on my product listing page if feature value is 0 or empty. So here is my code in product-list.tpl file. {foreach from=$product.features item=feature} {if $feature.id_feature == 2}{if $feature.value == '0' OR empty($feature.value)} <p>test</p> {/foreach} {/if}{/if} But its not working. Please any one. PS Version : 1.6.1.11
  10. Hi Unfortunately your code is not working in PS 1.6.1.11. Please any one.
  11. Hi Still we're not going Live. Could you please provide your IP address to enable shop for you?
  12. Thanks for your reply. I've implemented your javascript code on my Cart button in product-list.tpl. But its not working. I think ajax call on cart button has been blocked this code. <script type="text/javascript"> function changeBG() { document.getElementById("cartbutton").style.backgroundColor = "#83E02F"; } </script> <a id="cartbutton" class="button ajax_add_to_cart_button cart_button" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart'}" data-id-product="{$product.id_product|intval}" onclick="changeBG()"> You can use page source to see my script in this page http://www.drucken24.at/465-intec Please help.
  13. Hi Could you please provide the JS code to do this. I cant make it work in my way.
×
×
  • Create New...