close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I want to ad another requirement to this show if rule - <?php if( ($row_WADAProducts["ProductLive"] != 0) ){ ?>

Thread began 10/11/2021 7:36 pm by jo271221 | Last modified 10/18/2021 1:40 pm by Ray Borduin | 1149 views | 12 replies |

jo271221

I want to ad another requirement to this show if rule - <?php if( ($row_WADAProducts["ProductLive"] != 0) ){ ?>

IF the product is live AND if the product category is NOT 19 (ProductCategoryID[]=19)

Then I will copy the rule and show some info but NOT the quantity and add to cart button IF the product is live and if the product category is 19

Sign in to reply to this post

Ray BorduinWebAssist

<?php if( ($row_WADAProducts["ProductLive"] != 0 && $row_WADAProducts["ProductCategoryID"] != 19 ) ){ ?>

Sign in to reply to this post
Did this help? Tips are appreciated...

jo271221

Thank you! I am guessing we need to add a SQL statement to the page for the product category as a join. Maybe we can schedule a meeting for this and steps to convert to MySQLi?

I am posting store access in PM and attaching file.

Sign in to reply to this post

Ray BorduinWebAssist

We can schedule screen sharing for any day this week.

Sign in to reply to this post
Did this help? Tips are appreciated...

jo271221

Can we do tomorrow? 2pm CST? I believe that is 9am your time? The forum shows current WA time 11:14am. It is 4:18pm here right now (CST)

Sign in to reply to this post

Ray BorduinWebAssist

I think CST is two hours ahead... so that would be 12:00 my time. That would work for me. Just call me when you are ready.

Sign in to reply to this post
Did this help? Tips are appreciated...

jo271221

Ok, Thank You!

Sign in to reply to this post

jo271221

Thank you for the private session today. Our rule for showing if you are in group 3 is showing if you are not logged in as a user - at least for me.
Website, page and FTP is in private message. Page is attached.

Sign in to reply to this post

jo271221

I think the issue may be with the log out page as when I close the browser and reopen it displays correctly.

Sign in to reply to this post

Ray BorduinWebAssist

The logout page probably isn't clearing the UserGroup session variable properly. I'll take a look.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...