maroc1994 Posted July 11, 2013 Share Posted July 11, 2013 (edited) hallo, Ik wil graag op de productpagina dat er staat Op voorraad. Nu staat hij op bijv 17 items op voorraad. hoe kan ik de "17 items" verwijderen? bedankt! mvg, Edited August 3, 2013 by maroc1994 (see edit history) Link to comment Share on other sites More sharing options...
maroc1994 Posted July 18, 2013 Author Share Posted July 18, 2013 hallo, Moet ik bij een.tpl bestand een wijziging aanbengen? mvgm Link to comment Share on other sites More sharing options...
scorpionsworld Posted July 18, 2013 Share Posted July 18, 2013 hallo, Moet ik bij een.tpl bestand een wijziging aanbengen? mvgm Inderdaad.product.tpl in je theme aanpassen. Zoek de regels: <!-- number of item in stock --> {if ($display_qties == 1 && !$PS_CATALOG_MODE && $product->available_for_order)} <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span id="quantityAvailable">{$product->quantity|intval}</span> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}</span> </p> {/if} En vervang dit voor: <!-- number of item in stock --> {if ($display_qties == 1 && !$PS_CATALOG_MODE && $product->available_for_order)} <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}</span> </p> {/if} en de tekst item(s) op voorraad in de vertalingen vervangen voor 'Op vooraad' Link to comment Share on other sites More sharing options...
PascalVG Posted July 30, 2013 Share Posted July 30, 2013 Volgens mij kun je in Preferences->Products de optie: Display available quantities on the product page op OFF zetten. Link to comment Share on other sites More sharing options...
maroc1994 Posted August 3, 2013 Author Share Posted August 3, 2013 Inderdaad. product.tpl in je theme aanpassen. Zoek de regels: <!-- number of item in stock --> {if ($display_qties == 1 && !$PS_CATALOG_MODE && $product->available_for_order)} <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span id="quantityAvailable">{$product->quantity|intval}</span> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}</span> </p> {/if} En vervang dit voor: <!-- number of item in stock --> {if ($display_qties == 1 && !$PS_CATALOG_MODE && $product->available_for_order)} <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}</span> </p> {/if} en de tekst item(s) op voorraad in de vertalingen vervangen voor 'Op vooraad' Bedankt! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now