Jump to content

albinc

Members
  • Posts

    14
  • Joined

  • Last visited

albinc's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi! Thank you Marty, but this puts me on beginning, since that is an original code ("Available" and "Out of stock" notes in same color). This is my best shot, but problem with displaying "Available" and "Out of stock" notes in product list at the same time remains: <div> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{/if}</span>{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="outofstock">{if (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{else}{l s='Out of stock'}{/if}</span>{/if} </div> I can't do it better, any help will be much appreciated. Thanks loads.
  2. I'm sorry, it looks like I was a little hasty. I overlooked that product-list problem still persists: "Available" and "Out of stock" notes are displayed in product list at the same time. Obviously my code needs a final touch: <div> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{/if}</span>{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="outofstock">{if (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{else}{l s='Out of stock'}{/if}</span>{/if} </div> Thanks for helping!
  3. OMG Marty, that was it! You're the king! It's little embarrassing, but hey I learned something new. Sorry for wasting your time. Thanks a million! Best regards.
  4. I mean: two possibilities in BO>Products>Allow ordering out-of-stock product: yes and no and three possibilites for a product which is out of stock: BO>Catalog>Deny orders, Allow orders and Default: Deny orders (as set in Preferences) make 6 combinations, and neither work. Link is here. There's only few test products in at the moment. Thank you ver much for taking your time.
  5. I'm sorry Marty, it doesn't help. Any of 6 combinations, same result: no 'add to cart' button in product page...
  6. Ok, the new code is: <div> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{/if}</span>{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="outofstock">{if (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{else}{l s='Out of stock'}{/if}</span>{/if} </div> This eliminates "Available" and "Out of stock" notes being displayed in product list at the same time, that's ok now. Problem with allowing products to be ordered when out of stock still exists, any help will be much appreciated. Over & Out
  7. Ok, I did what Marty suggested, added new class"outofstock" in row 45, product-list.tpl from lines 42-46 now looks like: <div> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{/if}</span>{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="outofstock">{if (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s=''}{else}{l s='Out of stock'}{/if}</span>{/if} </div> Created additional 4 rows (67-70) in product-list.css: ul#product_list li span.outofstock { color: red; font-size: 11px; } The problem stays the same: this doesn't work if product is allowed to be ordered when out of stock - "Available" and "Out of stock" notes are displayed in product list at the same time. Any suggestions? Thanks.
  8. Thank you very much, Marty. Can you be so kind and paste the code? The thing is I've already tried that (named the class "availability1") and created it in product-list.css, but it hasn't seemed to work. Thanx again.
  9. Hi! In 1.4.4.1 I've managed to separately colour availability text in product list: "Available" in green and "Out of stock" in red. I modified product-list.tpl in line 44 from: {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if} to: {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{/if}</span>{/if} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability" style="color:red; ">{if (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s=''}{else}{l s='Out of stock'}{/if}</span>{/if} I know this isn't a complete solution, nor an elegant one, but it works, unless allowing orders when product is out of stock. Can anyone please offer a better or maybe a complete way how to solve this? Thanks in advance!
  10. All I have there is: Newsletter v2.0 by PrestaShop Generates a .CSV file for mass mailings Delete No "configure" option or anywhere to export this list. Click Install button on the right...
  11. In 1.4.4 version: bo/modules/administration/Newsletter v2.0 by PrestaShop
  12. Thanks Mikas. If I understand correctly, the site is too wide for your screen? That's strange, I've checked on several monitors and it fits ok... If you are referring to social bookmark button gifs in product page, they are part of sexybookmarks module. They could be replaced by pngs, you're right... About top horizontal menu - I've "merged" two modules, maybe this (http://www.designchemical.com/lab/jquery-mega-drop-down-menu-plugin/examples/) can help you.
  13. Thank you very much robkwal, it's nice to hear!
  14. Please let me know what do you think about first shop I've created (http://www.shabba.si/en/). Any feedback will be much appreciated. Thank you so much! Urc
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More