Jump to content

Edit History

johnrobertson

johnrobertson


added html bit in case it prompts someone

I'm looking for ideas as well (1.6 or TB)

  • Default product "choose" can be out of stock. The customer sees an out of stock error message like "choose is out of stock" when ordering by mistake. But I have to show other out of stock items; I don't know how to make a special case for the default showing and the other out-of-stock not showing.
     
  • HTML5 and such are new to me; modern browsers can refuse to select a selection called
    <select>
    <optgroup>choose</optgroup> 
    <option>small</option>
    <option>large</option>
    </select>
    They also refuse options with disabled written after option, and prefer a value there called value="" over the value the customer sees, so there are HTML methods that someone might know how to use.

     
  • Javascript.
    My old html site has something like these examples
    w3schools.com/js/js_validation.asp
    When I look at the source code of Prestashop I.6 I can see stuff about form validation but am not quite sure how to change it. The script could either change viability settings on the order button or pop-up an alert and make the form unusable.

    Searching for solutions I find
    w3schools.com/jsref/event_preventdefault.asp 
    ...and that preventdefault is something that people use on Prestashop 1.6 web sites, so this is quite close to a solution.

    Somebody somewhere must know the answer. Any ideas welcome!
johnrobertson

johnrobertson

I'm looking for ideas as well (1.6 or TB)

  • I can set a default product called "choose" as out of stock. The customer sees an out of stock error message like "choose is out of stock" when ordering by mistake. But I have to show other out of stock items; I don't know how to make a special case for the default showing and the other out-of-stock not showing.
     
  • Javascript.
    My old html site has something like these examples
    w3schools.com/js/js_validation.asp
    When I look at the source code of Prestashop I.6 I can see stuff about form validation but am not quite sure how to change it. The script could either change viability settings on the order button or pop-up an alert and make the form unusable.

    Searching for solutions I find
    w3schools.com/jsref/event_preventdefault.asp 
    ...and that preventdefault is something that people use on Prestashop 1.6 web sites, so this is quite close to a solution.

    Somebody somewhere must know the answer. Any ideas welcome!
johnrobertson

johnrobertson

I'm looking for ideas as well (1.6 or TB)

  • I can set a default product called "choose" as out of stock. The customer sees an out of stock error message like "choose is out of stock" when ordering by mistake. But I have to show other out of stock items; I don't know how to make a special case for the default showing and the other out-of-stock not showing.
     
  • Javascript.
    My old html site has something like these examples
    w3schools.com/js/js_validation.asp
    When I look at the source code of Prestashop I.6 I can see stuff about form validation but am not quite sure how to change it. The script could either change viability settings on the order button or pop-up an alert and make the form unusable.

    Searching for solutions I find
    w3schools.com/jsref/event_preventdefault.asp 
    ...and that preventdefault is something that people use on Prestashop 1.6 web sites, so this is quite close to a solution.

    Somebody somewhere must know the answer. Any ideas welcome!
johnrobertson

johnrobertson

I'm looking for ideas as well (1.6 or TB)

  • I can set a default product called "choose" as out of stock. The customer sees an out of stock error message like "choose is out of stock" when ordering by mistake. But I have to show other out of stock items; I don't know how to make a special case for the default showing and the other out-of-stock not showing.
     
  • Javascript.
    My old html site has something like these examples
    https://www.w3schools.com/js/js_validation.asp
    When I look at the source code of Prestashop I.6 I can see stuff about form validation but am not quite sure how to change it. The script could either change viability settings on the order button or pop-up an alert and make the form unusable.

    Somebody somewhere must know the answer. Any ideas welcome!
johnrobertson

johnrobertson

I'm looking for ideas as well (1.6 or TB)

  • I can set a default product called "choose" as out of stock. The customer sees an out of stock error message like "choose is out of stock" when ordering by mistake. But I have to show other out of stock items; I don't know how to make a special case for the default showing and the other out-of-stock not showing.
  • My old html site has something like these examples
    https://www.w3schools.com/js/js_validation.asp
    When I look at the source code of Prestashop I.6 I can see stuff about form validation but am not quite sure how to change it. Somebody somewhere must know the answer. Any ideas welcome!
johnrobertson

johnrobertson

I'm looking for ideas as well (1.6 or TB)

  • I can set a default product called "choose" as out of stock. The customer gets the idea on seeing the out of stock error message. But I have to show other out of stock items; I don't know how to make a special case for the default showing and the other out-of-stock not showing.
  • My old html site has something like these examples
    https://www.w3schools.com/js/js_validation.asp
    When I look at the source code of Prestashop I.6 I can see stuff about form validation but am not quite sure how to change it. Somebody somewhere must know the answer. Any ideas welcome!
×
×
  • Create New...