Still on XH_Shop
Posted: Mon Aug 19, 2019 3:39 pm
Hi Christoph and all who can give me an answer,
sorry if I continue to bother you with things that may seem trivial, but my ability to understand the code is rather elementary, after all I'm a graphic designer and not an expert programmer ...
Here is my need: I have to manage book stores where it is not important that the product is sold out because it can be reprinted upon customer's request against a minimum of requested copies (today with digital printing it is feasible). Using Wellrad I solved the problem by modifying the code without any particular difficulty. Now with XH_Shop I have managed to make sure that even a book classified as "not available" is shown in the catalog anyway and so far so good. What I had done previously was to create a condition for which if the product was not available it was shown in the catalog but not its block containing the elements for the order and a label was shown showing the book as " out of print but can be reprinted upon direct request via email ", etc. I thought I was using the same method used with Wellrad using "$ product ['isAvailable'] == false" to establish the condition. Unfortunately for my ineptitude neither this value nor ['stockOnHand'} are available in Catalog.php as they were in Wellrad and I can't find the way to retrieve the value of the condition "if available" in any way.
If you were so kind and helpful as to suggest me how to do it I would be grateful and at this point I think I should at least have a truck of beer ...
A couple of suggestions, even if for me it would not be big problems because I don't think it is difficult to do it alone, but I dare presumptuously to propose it if it can serve to improve the functionality of XH_Shop: when you make an order, the cart contains the elements ordered and all the mechanism proceeds correctly to allow the order to be paid. A button would be useful to allow the customer to delete items from the order before arriving at the conclusion and one that would allow the order to be canceled (or to cancel the order simply if all the items in the order were removed). Currently the only way I have found is to clear the browser cache and start over. Clearly it is not something understandable for any user.
Another observation concerns the fact that if you search for an article by entering data in the search field, there is no way to go back to the complete catalog list without selecting a category and then again "all categories", or by changing the page of the site and then returning to the store.
These are small suggestions, but they seem useful to make the store really "foolproof". And I as a "fool" am a great β tester ...
Thanks, really thanks.
sorry if I continue to bother you with things that may seem trivial, but my ability to understand the code is rather elementary, after all I'm a graphic designer and not an expert programmer ...
Here is my need: I have to manage book stores where it is not important that the product is sold out because it can be reprinted upon customer's request against a minimum of requested copies (today with digital printing it is feasible). Using Wellrad I solved the problem by modifying the code without any particular difficulty. Now with XH_Shop I have managed to make sure that even a book classified as "not available" is shown in the catalog anyway and so far so good. What I had done previously was to create a condition for which if the product was not available it was shown in the catalog but not its block containing the elements for the order and a label was shown showing the book as " out of print but can be reprinted upon direct request via email ", etc. I thought I was using the same method used with Wellrad using "$ product ['isAvailable'] == false" to establish the condition. Unfortunately for my ineptitude neither this value nor ['stockOnHand'} are available in Catalog.php as they were in Wellrad and I can't find the way to retrieve the value of the condition "if available" in any way.
If you were so kind and helpful as to suggest me how to do it I would be grateful and at this point I think I should at least have a truck of beer ...
A couple of suggestions, even if for me it would not be big problems because I don't think it is difficult to do it alone, but I dare presumptuously to propose it if it can serve to improve the functionality of XH_Shop: when you make an order, the cart contains the elements ordered and all the mechanism proceeds correctly to allow the order to be paid. A button would be useful to allow the customer to delete items from the order before arriving at the conclusion and one that would allow the order to be canceled (or to cancel the order simply if all the items in the order were removed). Currently the only way I have found is to clear the browser cache and start over. Clearly it is not something understandable for any user.
Another observation concerns the fact that if you search for an article by entering data in the search field, there is no way to go back to the complete catalog list without selecting a category and then again "all categories", or by changing the page of the site and then returning to the store.
These are small suggestions, but they seem useful to make the store really "foolproof". And I as a "fool" am a great β tester ...
Thanks, really thanks.