If the user is editing the product with a limited time offer and 'no limited time offer is selected, the expiration is not removed.

This means that when a product is created with a limited time offer, that cannot be removed without deleting the product and recreating.

CommentFileSizeAuthor
#1 uc_lto-1418396.patch2.08 KBagileware

Comments

agileware’s picture

Title: Limited time offer not getting removed on selection of 'No offer' » Limited time offer not getting removed on selection of 'No offer' - Patch Attached
StatusFileSize
new2.08 KB

This patch deletes the limited time offer from the database should 'Not Limited Time Offer' be selected when editing a node.

agileware’s picture

Status: Active » Needs review
dsobon’s picture

Is the patch inverted? (diff -u NEW OLD)

Or is the real intention to remove "$node->lto_type == 0", which makes the patch "already applied"?