*cough*smarty pants*cough*
User moment where I thought that prid had a use but forgot for a moment that is only true in the session ... kinda sorta a lot like I had a senior or user moment ... :cool:
Type: Posts; User: Ajeh
*cough*smarty pants*cough*
User moment where I thought that prid had a use but forgot for a moment that is only true in the session ... kinda sorta a lot like I had a senior or user moment ... :cool:
Like duh ... I knew that ... do not ask me what I was thinking ... :lookaroun
Not a problem ... at least I got to play ...
NOTE: on the (int) you are changing the customer's selected Attributes ... so, ensure that you want that removed on the link ...
I have absolutely no idea what you are asking as I have never used this thing ... :blush:
All I am doing is removing the prid from the link in emails so it only shows the products_id without the...
I just installed it to a clean Zen Cart v1.5.1 ...
Can you tell me what it is you think "breaks"? I cannot break it ... :lookaroun
I cannot break it and changing line 236 on both:
...
Weird ... I may have to break down and install this to see how it is really working ...
well that is poopie ... :blink:
So you are saying the only change you made is on line 236:
$mline .= ' <blockquote><a href="' . zen_catalog_href_link(FILENAME_PRODUCT_INFO,...
You really do not want to do that ...
Looking further at this file, I would first try a ...
Search of the file:
/your_secret_admin/recover_cart_sales.php
and search for:
$mline
See what happens if you change the references on $cline and $mline for:
$basket->fields['products_id']
to be:
(int)$basket->fields['products_id']
Probably, but I do not use this add on so I cannot speculate on the customization that you would need ...
That is not a session id that is a Product with the products_id plus the Attributes selected ...
Note: the code for deleting customer carts is in Zen Cart code for when a customer is deleted ...
$db->Execute("delete from " . TABLE_CUSTOMERS_BASKET . "
where...