Just want to check my code to see if I wrote them right. If wrong please correct me
Create a cfif block that checks for the condition:
IsDefined("url.productid") AND NOT IsDefined("form.productid") --- so I wrote
<cfif IsDefined("url.productid") AND NEQ IsDefined("form.productid")>
Create a ciff block that checks for the condition:
if url.action is defined and form.action is not defined
Inside the block, assign url.action to form.action ----so I wrote
<cfif IsDefined(url.action) AND IsDefined(form.action) NEQ "1">
Create a cfif block that checks for getCartItems.quantity is greater than 0.
If the quantity is greater than 0, assign getCartItems.quantity + 1 to variables.quantity .
Otherwise, assign 1 to variables.quantity ---- so I wrote
<cfif getCartItems.quantity GT 0 AND getCartItems.quantity + 1 to variables.quantity>