Jump to content

How to turn off check for option value


Guest

Recommended Posts

I did this before, but recently updated the site and lost what "if" statement I need to remove and where.

I have products with options, but none are mandatory, so how do I remove the check for option values from Cubecart?

Thanks!

Link to comment
Share on other sites

I did this before, but recently updated the site and lost what "if" statement I need to remove and where.

I have products with options, but none are mandatory, so how do I remove the check for option values from Cubecart?

Thanks!

view-cart.php around lines 61-69 and remove

 	 if(empty($value))

    {

   	 include( "header.inc.php");

   	 echo"<tr><td valign=\"top\" align=\"center\"><br>";

   	 echo"<p align=\"center\">$must_select_every</p>";

   	 echo"<p align=\"center\"><a href=\"javascript:history.back()\">$la_return_to_prev_pa</a></p>";

   	 include("footer.inc.php");

   	 exit;

    }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...