Hi, I am using v4.2.4 Dev. Please explain folowing lines 154-189 of the includes/core/checkout/step5.php PHP: if ($package['packages']['cAllowImages'] == "Y"){ $max = $package['packages']['cNumImages']; if ($max == $upphotos) { //redirect they have added the max $listing = $Listings->getListingById($listingid, 'modify'); $placed_text = sprintf(LANG_YOU_HAVE_PLACED, $upphotos, $max); $class_tpl->assign('placed_text', $placed_text); $class_tpl->assign('listingid', $listingid); $class_tpl->assign('upphotos', $upphotos); $class_tpl->assign('numimages', $max); $class_tpl->assign('extensions', $extensions); $class_tpl->assign('maxSize', $maxSize); $class_tpl->assign('body', 'checkout/step4.tpl'); } else { //show the form again $listing = $Listings->getListingById($listingid, 'modify'); $placed_text = sprintf(LANG_YOU_HAVE_PLACED, $upphotos, $max); $class_tpl->assign('placed_text', $placed_text); $class_tpl->assign('listingid', $listingid); $class_tpl->assign('upphotos', $upphotos); $class_tpl->assign('numimages', $max); $class_tpl->assign('extensions', $extensions); $class_tpl->assign('maxSize', $maxSize); $class_tpl->assign('body', 'checkout/step4.tpl'); }}else{ //go to next step} I am trying to modify some parts of the project and find out that it was a mistake buying Your product. This is not the only place of stupid source. I'm very angry.
Quite frankly, perhaps you should refrain from posting when you are "very angry". I certainly am not prone to provide help to anyone with an attitude like that. Many commercially made scripts don't even give you access to the source code and encrypt it. With your php abilities to define "stupid source", I feel you should have the ability to also make "not stupid source". What would be the point of explaining "stupid source" since it obviously doesn't fit your needs or goals. That "stupid source" has worked fine for literally thousands of happy 68 Customers. I don't know what you feel your time is worth when coding, but for the small price of this script it certainly seems more than worth it to me. I choose to be "very happy" with it along with the thousands of other customers. Perhaps when you are not "very angry", you could post a reasonable question asking for assistance without an attitude. Something along the lines of... "I'm trying to change the checkout so that it works like <insert what you are trying to do>" and perhaps someone would be willing to offer advice or guidance. I hope your day improves.