• My account
    • (X)Sign in

      I am a returning customer at TYPO3 Multishop

      Enter your username and password here in order to log in on the website:

      Forgot your password?

      Not yet customer of TYPO3 Multishop?

      • Order history
      • Automatic generated e-mail history
      • Track your Order
      New at TYPO3 Multishop
You are here:

Help by translating Multishop in your local language

On the following page you can help by translating Multishop in your local language:

https://translation.typo3.org/projects/TYPO3.ext.multishop/

Spanish:

https://translation.typo3.org/es/TYPO3.ext.multishop/pi1/locallang.xlf

The following language are already translated by our supporters:

  • Dutch
  • German
  • French

Several Questions for my "multishop" (not for merchandise, but for exercises printing)


Author Message
Ming
Peter Guan Ming
Multishop professional
Topic creator
registered since: 10.05.2012
Posts: 30
Hi, Bas van Beek & other Multishop fans

I am a physiotherapist (a big TYPO3 Fan), I would like to use Typo3 + "multishop" as a framework to create an online "Exercise Catalogue" for my therapists (not patient), so that they could select and prescribe exercises to individual patient based on his/her condition (print exercises as PDF invoice) anywhere with internet.

I have already installed and made "trial order" with multishop on my trial server. More than 90% of functions in multishop are good for online exercises list prescription. However, there are also lots of customization needed for merchandise terms like (price, order, etc), which I believe I could change them. And for other functions, esp, shipping & payment, I think I am able to disable them (or simply, not use it).

Nevertheless, due to my very very limited PHP knowledge, I don't think I am able to customize or add new functions based on PHP. Here are some simple functions which I am requiring: (they could be because of my misconfiguration of multishop)

1. "minimize button" for top admin panel NOT working, but I remembered that it was working initially.

2. NO invoice generated if payment not made. I remembered yesterday when I made the first and 2nd test-orders. the invoice download links appeared at "INVOICE OVERVIEW" page and Customer "Order History" page. But today I have done a few more trial orders, invoice downloads didn't appear unless I changed the PAID status from red to green, or click "invoice button", then the invoice link would appear in "INVOICE OVERVIEW" and "Order History" page. I don't know why the payment status was UNPaid. Yesterday's payment status is paid. BTW, for the payment method and shipping method, I created a generic one for each called "Cash on Delivery" and "print only". Simply because, I am not really using multishop to sell products, just to print selected exercise diagram only (staffs internal use only). So how to set the payment status to "PAID" as default after "confirm order"? or make multishop create pdf invoice link regardless of payment status.

3. How to customize PDF invoice? Should I change sth in the file called "download_invoice.php". (I like to add product/exercise image in the invoice"

4. is there a way to put "Add to Basket" button in the product list page for each product? (not just at product_detail page)

5. How to stop page diverting to shopping cart page after each click of "Add to Basket" button?

Thanks very for reading and helping

Thanks so much for the great extension for TYPO3. I always admire WordPress and Joomla CMS having lots of funky extensions. But TYPO3 also has alot now, Multishop is one of them...icon_smile.gificon_biggrin.gif


[This article was edited 2 times, at last 10.05.2012 at 15:03.]
Written on: 10. 05. 2012 [14:56]
puci
Peter
Multishop experienced
registered since: 20.04.2012
Posts: 13
Hi Ming,

I can help you with some of your questions:

3. Yes, you can customize/alter it in the download_invoice.php. You can also save it under a different name and add a reference to the new file under "Settings" -> "Download Invoice Type".

4. Under "Settings" -> "Product listing type" you can enter "grid_with_detail_cart_button" as current value. Then you will have an "add to basket button" in your list view.

5. I haven´t tried it yet but maybe setting the current value to 1 in "Settings" -> "Add to Cart - Redirect Back to Products Detail Page" could do the trick.

Best wishes
Peter

[This article was edited 1 times, at last 10.05.2012 at 16:13.]
Written on: 10. 05. 2012 [15:41]
Ming
Peter Guan Ming
Multishop professional
Topic creator
registered since: 10.05.2012
Posts: 30
Hi, Puci

Thanks very much for your answer icon_smile.gif, I will try them later on

Regarding invoice download links

it is confirmed that the default status is "UNPAID", Here is what I found which is nearly the same as what is described on the online document (manage invoice) "https://www.typo3multishop.com/documentation/let-s-get-to-work/manage-your-web-shop/#c724"

So what I found in order to make invoice linke to appear are:

1. Change to paid status from red to green (or unpaid to paid)

2. Click the <INVOICE> button in "Order Overview" page or

3. Click the <PACKING SLIP> button in "Order Overview" page can also bring the invoice download link up.

I believe the reason why my initial 2 trial-orders' invoice link appeared is because, I clicked the <PACKING SLIP> button before I enabled invoice overview function.

So, back to my initial question again:

How to set paid status to be "PAID" as a default after click "confirm order" in check out page, or how to make invoice download always available regardless of payment status?

(I understand my question/inquiry is not common and very weird, but it does fit my need)

Thanks very much in advance..icon_confused.gif

Written on: 11. 05. 2012 [02:26]
Ming
Peter Guan Ming
Multishop professional
Topic creator
registered since: 10.05.2012
Posts: 30
BTW, for those actual online payment (e.g. paypal), are their payment status also "UNPAID" by default after transaction? icon_redface.gif

(mine doesn't use any payment method, but just self-created one: Cash on delivery)
Written on: 11. 05. 2012 [02:31]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644
Like TYPO3 there are many ways to do this.

You could copy the default multistep checkout folder to fileadmin and hack the file checkout_process.php by adding the following line below:
PHP
unset($cart['products']);
unset($cart['user']);
 
// add this
mslib_fe::updateOrderStatusToPayed($orders_id);

But that way your checkout will be left out from future updates. If you only need the order to be updated to paid (and the invoice should be available directly) right after the moment that the order has been saved inside the database I recommend you to create a custom script inside fileadmin/your_folder/unique_filename.php and insert this content:
PHP
<?
// update order to paid and create invoice directly
mslib_fe::updateOrderStatusToPayed($orders_id);
?>

Now go to system settings and find ORDERS_CUSTOM_EXPORT_SCRIPT

Edit it and define the relative path to your script, without .php at the end: fileadmin/your_folder/unique_filename.

Cause in the multistep checkout we have this code that checks that setting and will run it if its defined:
PHP
if ($ms['MODULES']['ORDERS_CUSTOM_EXPORT_SCRIPT'])
{
    if (strstr($ms['MODULES']['ORDERS_CUSTOM_EXPORT_SCRIPT'],"..&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />) die('error in ORDERS_CUSTOM_EXPORT_SCRIPT value');
    else
    {
        require($this->DOCUMENT_ROOT.$ms['MODULES']['ORDERS_CUSTOM_EXPORT_SCRIPT'].'.php');
    }
}
Written on: 11. 05. 2012 [23:33]
Ming
Peter Guan Ming
Multishop professional
Topic creator
registered since: 10.05.2012
Posts: 30
Hi, Base

Thanks for your solution, it works perfectly as it is meant to be.

(1st time, I put the script in checkout_process.php directly, it didn't seem to work, it was behind the "unset($cart['user']);". Maybe I didn't do it properly. But 2nd time, using "ORDERS_CUSTOM_EXPORT_SCRIPT" in setting really helps)

BTW...

1. Admin Panel was not able to "Minimize", because jQuery (1.7.x - 1.8.x) from Multishop conflicted with jQuery (1.7.2) from "Templavoila Framework", which I am using it on my TYPO3 server. So after I disabled the one from TV framework, minimizing function works

2. Under "Settings" -> "Product listing type" I entered "grid_with_detail_cart_button" as current value, the <Add to Basket> button doesn't appear, instead, a direct <checkout> button, which brings me to "Shopping Cart" page (not checkout page). is this correct the way to be?

3. The "REDIRECT_BACK_TO_PRODUCTS_DETAIL_PAGE_AFTER_ADD_TO_CART" works well. But I changed sth in msLib_fe.php, instead of "=product_detail", I changed to "=product_list", so that it redirects back to product list page

Thanks all for your support, and I appreciate it so much...icon_wink.gif

And Now, I am going to work on modification of invoice(pdf), hopefully I won't get too much troubles

Ming

Written on: 13. 05. 2012 [03:29]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644

2. Under "Settings" -> "Product listing type" I entered "grid_with_detail_cart_button" as current value, the <Add to Basket> button doesn't appear, instead, a direct <checkout> button, which brings me to "Shopping Cart" page (not checkout page). is this correct the way to be?


Yes this is on purpose. The listing displays a button to add the product to the cart and redirects straight to the shopping cart page. So it bypasses the products detail page. Again this version of the listing is just an example. You did the right way to hack it to your needs!
Written on: 13. 05. 2012 [18:16]